You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by du...@apache.org on 2022/03/02 00:40:21 UTC
[rocketmq] branch develop updated: Fix #3911 (#3912)
This is an automated email from the ASF dual-hosted git repository.
duhengforever pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 9226395 Fix #3911 (#3912)
9226395 is described below
commit 9226395de5fa96102806110409adf769f1c35697
Author: cnScarb <jj...@163.com>
AuthorDate: Wed Mar 2 08:40:01 2022 +0800
Fix #3911 (#3912)
---
.../java/org/apache/rocketmq/client/common/ThreadLocalIndexTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/src/test/java/org/apache/rocketmq/client/common/ThreadLocalIndexTest.java b/client/src/test/java/org/apache/rocketmq/client/common/ThreadLocalIndexTest.java
index de35b91..22ce281 100644
--- a/client/src/test/java/org/apache/rocketmq/client/common/ThreadLocalIndexTest.java
+++ b/client/src/test/java/org/apache/rocketmq/client/common/ThreadLocalIndexTest.java
@@ -33,7 +33,7 @@ public class ThreadLocalIndexTest {
public void testIncrementAndGet2() throws Exception {
ThreadLocalIndex localIndex = new ThreadLocalIndex();
int initialVal = localIndex.incrementAndGet();
- assertThat(initialVal >= 0);
+ assertThat(initialVal >= 0).isTrue();
}
}
\ No newline at end of file