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/14 06:21:23 UTC

[rocketmq] branch develop updated: fix a flaky test (#3959)

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 895bd95  fix a flaky test (#3959)
895bd95 is described below

commit 895bd95e82e597ebb6c970e86522e238618a8610
Author: 在红尘中成仙 <11...@qq.com>
AuthorDate: Mon Mar 14 01:21:16 2022 -0500

    fix a flaky test (#3959)
---
 .../src/test/java/org/apache/rocketmq/common/filter/FilterAPITest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/src/test/java/org/apache/rocketmq/common/filter/FilterAPITest.java b/common/src/test/java/org/apache/rocketmq/common/filter/FilterAPITest.java
index 5190f88..bf14207 100644
--- a/common/src/test/java/org/apache/rocketmq/common/filter/FilterAPITest.java
+++ b/common/src/test/java/org/apache/rocketmq/common/filter/FilterAPITest.java
@@ -57,7 +57,7 @@ public class FilterAPITest {
             assertThat(ExpressionType.isTagType(subscriptionData.getExpressionType())).isTrue();
 
             assertThat(subscriptionData.getTagsSet()).isNotNull();
-            assertThat(subscriptionData.getTagsSet()).containsExactly("A", "B");
+            assertThat(subscriptionData.getTagsSet()).containsExactlyInAnyOrder("A", "B");
         } catch (Exception e) {
             e.printStackTrace();
             assertThat(Boolean.FALSE).isTrue();