You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test below in TopicControllerTest.java was found flaky because of the ordering of elements in result HashSet. The orders of elements in the HashSet were not the same every time being called. In this case, containsInAnyOrder was applied to ensure the orders do not cause the flakiness. This code change is trying to fix the flaky tests mentioned above, because they sometimes fail (as the picture showed) and sometimes pass. The failure could be reproduced by the commands above by using the tool of NonDex. The code change is to make sure the tests will always pass in this case.
run tests with NonDex mvn -pl . edu.illinois:nondex-maven-plugin:2.1:nondex -Dtest=org.apache.rocketmq.dashboard.controller.TopicControllerTest#testList
The text was updated successfully, but these errors were encountered:
BUG REPORT
The test below in
TopicControllerTest.java
was found flaky because of the ordering of elements in result HashSet. The orders of elements in the HashSet were not the same every time being called. In this case,containsInAnyOrder
was applied to ensure the orders do not cause the flakiness. This code change is trying to fix the flaky tests mentioned above, because they sometimes fail (as the picture showed) and sometimes pass. The failure could be reproduced by the commands above by using the tool of NonDex. The code change is to make sure the tests will always pass in this case.org.apache.rocketmq.dashboard.controller.TopicControllerTest.testList
The test failures could be reproduced by
mvn install -pl . -am -DskipTests
mvn -pl . edu.illinois:nondex-maven-plugin:2.1:nondex -Dtest=org.apache.rocketmq.dashboard.controller.TopicControllerTest#testList
The text was updated successfully, but these errors were encountered: