提交 8e19069c 编写于 作者: J Jiang Haiting

fix test error

上级 a9a7dfa7
......@@ -637,7 +637,7 @@ public class SendMessageProcessor extends AbstractSendMessageProcessor implement
private String diskUtil() {
double physicRatio = -1;
String storePath =this.brokerController.getMessageStoreConfig().getStorePathCommitLog();
String storePath = this.brokerController.getMessageStoreConfig().getStorePathCommitLog();
if (storePath.contains(MessageStoreConfig.MULTI_PATH_SPLITTER)) {
String[] paths = storePath.trim().split(MessageStoreConfig.MULTI_PATH_SPLITTER);
for (String storePathPhysic : paths) {
......
......@@ -18,7 +18,6 @@ package org.apache.rocketmq.store;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import java.util.function.Supplier;
......
......@@ -17,9 +17,6 @@
package org.apache.rocketmq.store.config;
import java.io.File;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.apache.rocketmq.common.annotation.ImportantField;
import org.apache.rocketmq.store.ConsumeQueue;
......
......@@ -73,7 +73,7 @@ public class MultiPathMappedFileQueueTest {
mappedFileQueue.load();
assertThat(mappedFileQueue.mappedFiles.size()).isEqualTo(1025);
assertThat(mappedFileQueue.mappedFiles.size()).isEqualTo(1024);
mappedFileQueue.destroy();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册