vlsi commented on PR #693: URL: https://github.com/apache/jmeter/pull/693#issuecomment-1304755910
Sample failure in the current master:0 ```java public class SearchByClassTest { @Test public void test() { ListedHashTree tree = new ListedHashTree(); int count = 100000; for (int i = 0; i < count; i++) { tree.add(new ThreadGroup()); } SearchByClass<AbstractThreadGroup> searcher = new SearchByClass<>(AbstractThreadGroup.class); tree.traverse(searcher); Assertions.assertEquals(count, searcher.getSearchResults().size()); } } ``` ``` org.opentest4j.AssertionFailedError: expected: <100000> but was: <99998> at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:527) at app//org.apache.jorphan.collections.SearchByClassTest.test(SearchByClassTest.java:35) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org