Skip to content

Commit

Permalink
Add diagnostic printing for sporadic test failure (LruClockTest.SyncU…
Browse files Browse the repository at this point in the history
…pdate128).
  • Loading branch information
tonyastolfi committed Mar 15, 2024
1 parent 4a642e7 commit 02faf9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llfs/lru_clock.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void run_sync_update_test(const usize kNumFastThreads)
EXPECT_GT(slow_thread_values[i] - slow_thread_values[i - 1], 50)
<< BATT_INSPECT(i) << BATT_INSPECT(slow_thread_values[i])
<< BATT_INSPECT(slow_thread_values[i - 1]) << BATT_INSPECT(max_synced_count)
<< BATT_INSPECT(max_count);
<< BATT_INSPECT(max_count) << BATT_INSPECT_RANGE(slow_thread_values);
}

EXPECT_GT(slow_thread_values.back(), kUpdatesPerThread / 2);
Expand Down

0 comments on commit 02faf9f

Please sign in to comment.