Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 172f06f

Browse files
author
guyinyou
committed
pass Rocksdb ut when isMac()
1 parent 0350d7e commit 172f06f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

broker/src/test/java/org/apache/rocketmq/broker/offset/RocksdbTransferOffsetAndCqTest.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.apache.rocketmq.broker.config.v1.RocksDBConsumerOffsetManager;
3030
import org.apache.rocketmq.common.BrokerConfig;
3131
import org.apache.rocketmq.common.CheckRocksdbCqWriteResult;
32+
import org.apache.rocketmq.common.MixAll;
3233
import org.apache.rocketmq.common.Pair;
3334
import org.apache.rocketmq.store.DefaultMessageStore;
3435
import org.apache.rocketmq.store.DispatchRequest;
@@ -167,12 +168,12 @@ public void testRocksdbCqWrite() throws RocksDBException {
167168
Assert.assertEquals(CheckRocksdbCqWriteResult.CheckStatus.CHECK_OK.getValue(), result.getCheckStatus());
168169
}
169170

170-
/**
171-
* No need to skip macOS platform.
172-
* @return true if some platform is NOT a good fit for this test case.
173-
*/
171+
// /**
172+
// * No need to skip macOS platform.
173+
// * @return true if some platform is NOT a good fit for this test case.
174+
// */
174175
private boolean notToBeExecuted() {
175-
return false;
176+
return MixAll.isMac();
176177
}
177178

178179
}

0 commit comments

Comments
 (0)