Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE #8623] Temporarily skip flaky unit tests on macOS #8633

Merged
merged 3 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import org.apache.rocketmq.store.StoreCheckpoint;
import org.apache.rocketmq.store.config.StorePathConfigHelper;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.Assume;
import org.apache.rocketmq.common.MixAll;
Expand All @@ -51,6 +52,12 @@

public class DLedgerCommitlogTest extends MessageStoreTestBase {

@BeforeClass
public static void beforeClass() {
// Temporarily skip those tests on the macOS as they are flaky
Assume.assumeFalse(MixAll.isMac());
}

@Test
public void testTruncateCQ() throws Exception {
String base = createBaseDir();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class DLedgerMultiPathTest extends MessageStoreTestBase {

@Test
public void multiDirsStorageTest() throws Exception {
Assume.assumeFalse(MixAll.isMac());
Assume.assumeFalse(MixAll.isWindows());
String base = createBaseDir();
String topic = UUID.randomUUID().toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class MixCommitlogTest extends MessageStoreTestBase {
@Test
public void testFallBehindCQ() throws Exception {
Assume.assumeFalse(MixAll.isWindows());
Assume.assumeFalse(MixAll.isMac());
String base = createBaseDir();
String topic = UUID.randomUUID().toString();
String peers = String.format("n0-localhost:%d", nextPort());
Expand Down Expand Up @@ -75,6 +76,7 @@ public void testFallBehindCQ() throws Exception {

@Test
public void testPutAndGet() throws Exception {
Assume.assumeFalse(MixAll.isMac());
String base = createBaseDir();
String topic = UUID.randomUUID().toString();
String peers = String.format("n0-localhost:%d", nextPort());
Expand Down Expand Up @@ -138,6 +140,7 @@ public void testPutAndGet() throws Exception {

@Test
public void testDeleteExpiredFiles() throws Exception {
Assume.assumeFalse(MixAll.isMac());
String base = createBaseDir();
String topic = UUID.randomUUID().toString();
String peers = String.format("n0-localhost:%d", nextPort());
Expand Down
Loading