提交 13b5dd11 编写于 作者: Z zhoubo 提交者: dinglei

[RIP-10] Optimize test batch send message use cases(#831)

[RIP-10] Optimize test batch send message use cases
上级 8357b440
......@@ -78,7 +78,7 @@ public class BatchPutMessageTest {
}
@Test
public void testPutMessages() {
public void testPutMessages() throws Exception {
List<Message> messages = new ArrayList<>();
String topic = "batch-write-topic";
int queue = 0;
......@@ -111,6 +111,8 @@ public class BatchPutMessageTest {
PutMessageResult putMessageResult = messageStore.putMessages(messageExtBatch);
assertThat(putMessageResult.isOk()).isTrue();
Thread.sleep(3 * 1000);
for (long i = 0; i < 10; i++) {
MessageExt messageExt = messageStore.lookMessageByOffset(msgLengthArr[(int) i]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册