Test is succeeding on it's own, but when you run all the tests in the class it times out. In my runs testGetActiveCompactions runs before testPartialCompactions and both tests use the same group, QUEUE8 to execute compactions. Jstacking the Compactor process for that group, the Compactor is doing the following:
at java.lang.Thread.sleep(java.base@11.0.23/Native Method)
at org.apache.accumulo.test.functional.SlowIterator.next(SlowIterator.java:58)
at org.apache.accumulo.server.compaction.FileCompactor.compactLocalityGroup(FileCompactor.java:535)
at org.apache.accumulo.server.compaction.FileCompactor.call(FileCompactor.java:337)
at org.apache.accumulo.compactor.Compactor$2.run(Compactor.java:573)
at org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
at java.lang.Thread.run(java.base@11.0.23/Thread.java:829)
testGetActiveCompactions is the only test in the IT class that uses SlowIterator, and at the very end of the testGetActiveCompactions it cancels the compaction. The compaction cancellation must not be working.
Test is succeeding on it's own, but when you run all the tests in the class it times out. In my runs
testGetActiveCompactionsruns beforetestPartialCompactionsand both tests use the same group,QUEUE8to execute compactions. Jstacking the Compactor process for that group, the Compactor is doing the following:testGetActiveCompactionsis the only test in the IT class that usesSlowIterator, and at the very end of thetestGetActiveCompactionsit cancels the compaction. The compaction cancellation must not be working.