Skip to content

Commit

Permalink
Force flush during testFlushSize
Browse files Browse the repository at this point in the history
Patch by brandonwilliams; reviewed by edimitrova for CASSANDRA-18710
  • Loading branch information
driftx committed Aug 2, 2023
1 parent 15c2afe commit 3ed723b
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -109,6 +109,7 @@ public void testFlushSize() throws Throwable
for (int i = 0; i < 3; i++)
insertN(KEYSPACE_PER_TEST, cfs, 1000, 55);

cfs.forceBlockingFlush(ColumnFamilyStore.FlushReason.UNIT_TESTS);
int totalSize = 0;
final Set<SSTableReader> liveSSTables = cfs.getLiveSSTables();
for (SSTableReader rdr : liveSSTables)
Expand Down

0 comments on commit 3ed723b

Please sign in to comment.