Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions tests/universal/network/cancellation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ void test_get() {

Session::GetOptions opt;
opt.cancellation_token = ct;
auto replies = session2.get(ke, "", channels::FifoChannel(3), std::move(opt));
ZResult _err;
auto replies = session2.get(ke, "", channels::FifoChannel(3), std::move(opt), &_err);
std::this_thread::sleep_for(1s);
auto res = replies.try_recv();
assert(std::holds_alternative<channels::RecvError>(res));
Expand Down Expand Up @@ -162,7 +163,8 @@ void test_querier_get() {

Querier::GetOptions opt;
opt.cancellation_token = ct;
auto replies = querier.get("", channels::FifoChannel(3), std::move(opt));
ZResult _err;
auto replies = querier.get("", channels::FifoChannel(3), std::move(opt), &_err);
std::this_thread::sleep_for(1s);
auto res = replies.try_recv();
assert(std::holds_alternative<channels::RecvError>(res));
Expand Down Expand Up @@ -213,7 +215,8 @@ void test_liveliness_get() {

Session::LivelinessGetOptions opt;
opt.cancellation_token = ct;
auto replies = session2.liveliness_get(ke, channels::FifoChannel(3), std::move(opt));
ZResult _err;
auto replies = session2.liveliness_get(ke, channels::FifoChannel(3), std::move(opt), &_err);
std::this_thread::sleep_for(1s);
auto res = replies.try_recv();
assert(std::holds_alternative<channels::RecvError>(res));
Expand Down
2 changes: 1 addition & 1 deletion zenoh-pico
Submodule zenoh-pico updated 117 files
Loading