Running tests on my laptop, I often get failures like follows:
largeTest(org.apache.accumulo.test.functional.ReadWriteIT) Time elapsed: 18.952 sec <<< FAILURE! java.lang.AssertionError: Could not connect to Accumulo: Failed to connect to zookeeper (localhost:56307) within 2x zookeeper timeout period 5000 at org.junit.Assert.fail(Assert.java:88) at org.apache.accumulo.harness.AccumuloClusterHarness.getConnector(AccumuloClusterHarness.java:310) at org.apache.accumulo.test.functional.ReadWriteIT.largeTest(ReadWriteIT.java:320) localityGroupChange(org.apache.accumulo.test.functional.ReadWriteIT) Time elapsed: 17.767 sec <<< FAILURE! java.lang.AssertionError: Could not connect to Accumulo: Failed to connect to zookeeper (localhost:56598) within 2x zookeeper timeout period 5000 at org.junit.Assert.fail(Assert.java:88) at org.apache.accumulo.harness.AccumuloClusterHarness.getConnector(AccumuloClusterHarness.java:310) at org.apache.accumulo.test.functional.ReadWriteIT.localityGroupChange(ReadWriteIT.java:447)
This is a bit ridiculous. We should not be affecting the stability of the tests just to get them to run faster sometimes.
- breaks
-
ACCUMULO-4139 ExistingMacIT doesn't wait long enough for ZK locks to disappear
-
- Resolved
-