Reduce the number of redundant test runs. Disable SNTP test on macos - it is flaky

This commit is contained in:
cpq committed 2023-02-05 01:11:22 +00:00
1 parent 4ae4ff72e3
commit 8d824799a0
4 files changed
+90 -21

No files matched your search

+2
View File
@@ -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);
}