Skip to content

Commit

Permalink
cpu_profiler_test: yet more flakiness reduction
Browse files Browse the repository at this point in the history
This especially seems to flake on github actions, where there might be
more noise or less CPU power overall?
  • Loading branch information
travisdowns committed Feb 20, 2025
1 parent 1cc7b30 commit 5adb0d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/cpu_profiler_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,9 @@ SEASTAR_THREAD_TEST_CASE(scheduling_group_test) {
// calculate the sampling intervals.
// Nominally the split is 10/10/0 for a/b/main, but we just look for
// at least 1 event in each to avoid flakiness.
BOOST_CHECK_GT(count_a + count_b, 10);
BOOST_CHECK_GT(count_a, 0);
BOOST_CHECK_GT(count_b, 0);
BOOST_CHECK_LT(count_main, 3);
BOOST_CHECK_EQUAL(dropped_samples, 0);
BOOST_CHECK_LT(dropped_samples, 5);
}

0 comments on commit 5adb0d8

Please sign in to comment.