disable wait_for_alert test, since it relies on accurate wall-clock timings, which aren't necessarily possible on some CIs

This commit is contained in:
arvidn 2019-11-03 10:36:33 +01:00 committed by Arvid Norberg
parent 2bb7d92957
commit 0ce4e576e6
1 changed files with 4 additions and 0 deletions

View File

@ -213,6 +213,7 @@ TORRENT_TEST(extensions)
#endif #endif
} }
/*
namespace { namespace {
void post_torrent_added(alert_manager* mgr) void post_torrent_added(alert_manager* mgr)
@ -223,6 +224,8 @@ void post_torrent_added(alert_manager* mgr)
} // anonymous namespace } // anonymous namespace
// this test is too flaky
TORRENT_TEST(wait_for_alert) TORRENT_TEST(wait_for_alert)
{ {
alert_manager mgr(100, alert::all_categories); alert_manager mgr(100, alert::all_categories);
@ -263,6 +266,7 @@ TORRENT_TEST(wait_for_alert)
posting_thread.join(); posting_thread.join();
} }
*/
TORRENT_TEST(alert_mask) TORRENT_TEST(alert_mask)
{ {