From 94ebea531ae00b71b640a8163d9f44d861d62235 Mon Sep 17 00:00:00 2001 From: bennylp Date: Fri, 10 Jan 2025 15:05:38 +0700 Subject: [PATCH] Also changed timestamp_test() to exclusive as well because it often drifts on GH Windows CI --- pjlib/src/pjlib-test/test.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pjlib/src/pjlib-test/test.c b/pjlib/src/pjlib-test/test.c index 6ccb712238..c8cfe60835 100644 --- a/pjlib/src/pjlib-test/test.c +++ b/pjlib/src/pjlib-test/test.c @@ -242,8 +242,18 @@ static int features_tests(int argc, char *argv[]) UT_ADD_TEST(&test_app.ut_app, hash_test, 0); #endif + /* Windows GH CI oftent fails with: + + 07:27:13.217 ...testing frequency accuracy (pls wait) + 07:27:23.440 ....error: timestamp drifted by 3800 usec after 10020 msec + */ #if INCLUDE_TIMESTAMP_TEST +# if defined(PJ_WIN32) && PJ_WIN32!=0 + UT_ADD_TEST(&test_app.ut_app, timestamp_test, + PJ_TEST_EXCLUSIVE | PJ_TEST_KEEP_LAST); +# else UT_ADD_TEST(&test_app.ut_app, timestamp_test, 0); +# endif #endif #if INCLUDE_ATOMIC_TEST