You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sm...@apache.org on 2024/05/20 17:56:34 UTC
(cassandra) branch trunk updated: Assume StartupChecksTest#testKernelBug1057843 test runs on Linux
This is an automated email from the ASF dual-hosted git repository.
smiklosovic pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new df78296dcb Assume StartupChecksTest#testKernelBug1057843 test runs on Linux
df78296dcb is described below
commit df78296dcbc67c1d6dd1e0412fcd71f0a8f8fa7c
Author: maoling <ma...@apache.org>
AuthorDate: Mon May 20 23:00:00 2024 +0800
Assume StartupChecksTest#testKernelBug1057843 test runs on Linux
patch by Ling Mao; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19648
---
test/unit/org/apache/cassandra/service/StartupChecksTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/unit/org/apache/cassandra/service/StartupChecksTest.java b/test/unit/org/apache/cassandra/service/StartupChecksTest.java
index d5ed25a89f..41c16b9065 100644
--- a/test/unit/org/apache/cassandra/service/StartupChecksTest.java
+++ b/test/unit/org/apache/cassandra/service/StartupChecksTest.java
@@ -244,6 +244,7 @@ public class StartupChecksTest
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);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org