Skip to content

Commit

Permalink
Assume StartupChecksTest#testKernelBug1057843 test runs on Linux
Browse files Browse the repository at this point in the history
patch by Ling Mao; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19648
  • Loading branch information
maoling authored and smiklosovic committed May 20, 2024
1 parent dc89df7 commit df78296
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -244,6 +244,7 @@ List<TableGCPeriod> getTablesGcPeriods(String userKeyspace)
public void testKernelBug1057843Check() throws Exception
{
Assume.assumeTrue(DatabaseDescriptor.getCommitLogCompression() == null); // we would not be able to enable direct io otherwise
Assume.assumeTrue("Skipping this test on non-Linux OS", FBUtilities.isLinux);
testKernelBug1057843Check("ext4", DiskAccessMode.direct, new Semver("6.1.63.1-generic"), false);
testKernelBug1057843Check("ext4", DiskAccessMode.direct, new Semver("6.1.64.1-generic"), true);
testKernelBug1057843Check("ext4", DiskAccessMode.direct, new Semver("6.1.65.1-generic"), true);
Expand Down

0 comments on commit df78296

Please sign in to comment.