mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
Reduce the number of redundant test runs. Disable SNTP test on macos - it is flaky
This commit is contained in:
1 parent
4ae4ff72e3
commit
8d824799a0
4 files changed
+90
-21
No files matched your search
@@ -319,7 +319,9 @@ static void test_sntp_server(const char *url) {
|
||||
ASSERT(c->is_udp == 1);
|
||||
for (i = 0; i < 60 && ms == 0; i++) mg_mgr_poll(&mgr, 50);
|
||||
MG_DEBUG(("server: %s, ms: %lld", url ? url : "(default)", ms));
|
||||
#if !defined(NO_SNTP_CHECK)
|
||||
ASSERT(ms > 0);
|
||||
#endif
|
||||
mg_mgr_free(&mgr);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user