activemq-artemis/tests
Jiri Danek c1a191c547 ARTEMIS-2016 fix flaky test QueueControlTest#testRemoveAllWithPagingMode
Parameters going into Wait.waitFor were originally wrong, because
`durationMillis: 3, sleepMillis: 100` means you would test the condition
only once. This commit is changing the durationMillis from 3ms to 3s,
swapping the two numbers (duration 100ms, sleep 3ms) would also be reasonable, I think.

Next, Wait.assertEquals is here being used, instead of Assert.assertTrue.

I saw the test fail only once, and never was able to reproduce it again,
but I think this commit does improve the test and so it is worthwhile.

    java.lang.AssertionError
		at org.apache.activemq.artemis.tests.integration.management.QueueControlTest.assertMetrics(QueueControlTest.java:2651)
	    at org.apache.activemq.artemis.tests.integration.management.QueueControlTest.assertMessageMetrics(QueueControlTest.java:2615)
    	at org.apache.activemq.artemis.tests.integration.management.QueueControlTest.testRemoveAllWithPagingMode(QueueControlTest.java:1554)
2018-08-08 11:33:31 -04:00
..
activemq5-unit-tests [maven-release-plugin] prepare for next development iteration 2018-05-16 11:03:26 -04:00
artemis-test-support ARTEMIS-1940: restore use of copying send in certain edge cases 2018-06-18 19:30:26 +01:00
compatibility-tests ARTEMIS-2011 Fixing incompatibility of AddressSettings encode between versions 2018-08-06 11:12:46 -04:00
config NO-JIRA Logging integration-tests/DEBUG is being too verbose on the testsuite 2017-01-30 22:26:48 -05:00
extra-tests ARTEMIS-1954 eliminate all possible usage of JMSServerManager 2018-07-12 14:24:44 -04:00
integration-tests ARTEMIS-2016 fix flaky test QueueControlTest#testRemoveAllWithPagingMode 2018-08-08 11:33:31 -04:00
jms-tests ARTEMIS-1954 eliminate all possible usage of JMSServerManager 2018-07-12 14:24:44 -04:00
joram-tests ARTEMIS-1954 eliminate all possible usage of JMSServerManager 2018-07-12 14:24:44 -04:00
karaf-client-integration-tests [maven-release-plugin] prepare for next development iteration 2018-05-16 11:03:26 -04:00
performance-tests [maven-release-plugin] prepare for next development iteration 2018-05-16 11:03:26 -04:00
smoke-tests ARTEMIS-1887 and ARTEMIS-1885 Adding tests on maxConsumer 2018-05-24 14:36:22 -04:00
soak-tests [maven-release-plugin] prepare for next development iteration 2018-05-16 11:03:26 -04:00
stress-tests [maven-release-plugin] prepare for next development iteration 2018-05-16 11:03:26 -04:00
timing-tests ARTEMIS-1954 eliminate all possible usage of JMSServerManager 2018-07-12 14:24:44 -04:00
unit-tests NO-JIRA Fixing MultiThreadAsynchronousFileTest on limited servers 2018-08-03 13:09:41 -04:00
pom.xml [maven-release-plugin] prepare for next development iteration 2018-05-16 11:03:26 -04:00