mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-18 11:28:13 +08:00
Increase SNMP test timeout
This commit is contained in:
parent
013520b0c0
commit
24e8c4d81a
@ -257,7 +257,7 @@ static void test_sntp(void) {
|
|||||||
ASSERT(c != NULL);
|
ASSERT(c != NULL);
|
||||||
ASSERT(c->is_udp == 1);
|
ASSERT(c->is_udp == 1);
|
||||||
mg_sntp_send(c, (unsigned long) time(NULL));
|
mg_sntp_send(c, (unsigned long) time(NULL));
|
||||||
for (i = 0; i < 200 && tv.tv_sec == 0; i++) mg_mgr_poll(&mgr, 10);
|
for (i = 0; i < 300 && tv.tv_sec == 0; i++) mg_mgr_poll(&mgr, 10);
|
||||||
ASSERT(tv.tv_sec > 0);
|
ASSERT(tv.tv_sec > 0);
|
||||||
mg_mgr_free(&mgr);
|
mg_mgr_free(&mgr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user