Skip to content

Commit

Permalink
Adjust timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jan 15, 2025
1 parent 15c523e commit 8281c14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/z_api_matching_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,15 @@ void test_matching_sub(bool background) {
assert_ok(z_declare_subscriber(z_session_loan(&s2), &sub, z_view_keyexpr_loan(&k_sub),
z_closure_sample_move(&callback), NULL));

_context_wait(&context, MATCH, 10);
_context_wait(&context, MATCH, 30);

z_subscriber_drop(z_subscriber_move(&sub));

_context_wait(&context, UNMATCH, 10);
_context_wait(&context, UNMATCH, 30);

z_publisher_drop(z_publisher_move(&pub));

_context_wait(&context, DROP, 10);
_context_wait(&context, DROP, 30);

if (!background) {
z_matching_listener_drop(z_matching_listener_move(&matching_listener));
Expand Down

0 comments on commit 8281c14

Please sign in to comment.