Skip to content

Commit

Permalink
testing: cv_wait_example: relax max waiting time
Browse files Browse the repository at this point in the history
  • Loading branch information
clementperon committed Jul 2, 2024
1 parent 6bce2c5 commit efbe091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/cv_wait_example_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ static void example_cv_wait (testing t) {
nsync_time_ms (500), NELEM (input), input));

/* delay: "one", "two", "three" are queued; not "four" */
nsync_time_sleep (nsync_time_ms (1200));
nsync_time_sleep (nsync_time_ms (2400));

remove_and_print_cv (&q, nsync_time_ms (1000), &output); /* "one" */
remove_and_print_cv (&q, nsync_time_ms (1000), &output); /* "three" (less than "two") */
Expand Down

0 comments on commit efbe091

Please sign in to comment.