Skip to content

Commit

Permalink
Increase sntp test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
cpq committed Jul 22, 2021
1 parent 55e2077 commit 32406b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static void test_sntp(void) {
ASSERT(c != NULL);
ASSERT(c->is_udp == 1);
mg_sntp_send(c, (unsigned long) time(NULL));
for (i = 0; i < 70 && tv.tv_sec == 0; i++) mg_mgr_poll(&mgr, 10);
for (i = 0; i < 200 && tv.tv_sec == 0; i++) mg_mgr_poll(&mgr, 10);
ASSERT(tv.tv_sec > 0);
mg_mgr_free(&mgr);

Expand Down

0 comments on commit 32406b6

Please sign in to comment.