Skip to content

Commit

Permalink
Also changed timestamp_test() to exclusive as well because it often d…
Browse files Browse the repository at this point in the history
…rifts on GH Windows CI
  • Loading branch information
bennylp committed Jan 10, 2025
1 parent fcae1c1 commit 94ebea5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pjlib/src/pjlib-test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94ebea5

Please sign in to comment.