keith-turner commented on issue #2028:
URL: https://github.com/apache/accumulo/issues/2028#issuecomment-828043073


   > Wrote ExternalCompactionIT.testUserCompactionCancellation in commit b21af9f
   
   @dlmarion  the test look great.  I tweaked them a bit in 
2c6095edd1592037b00a178e1e68b6b49001577c
   
   When running them I saw the following error.
   
   ```
   [INFO] Running org.apache.accumulo.test.ExternalCompactionIT
   [ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
602.636 s <<< FAILURE! - in org.apache.accumulo.test.ExternalCompactionIT
   [ERROR] 
org.apache.accumulo.test.ExternalCompactionIT.testSplitDuringExternalCompaction 
 Time elapsed: 49.06 s  <<< FAILURE!
   java.lang.AssertionError: expected:<1> but was:<2>
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:647)
        at org.junit.Assert.assertEquals(Assert.java:633)
        at 
org.apache.accumulo.test.ExternalCompactionIT.testSplitDuringExternalCompaction(ExternalCompactionIT.java:227)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.lang.Thread.run(Thread.java:834)
   ```
   
   Line 227 is `assertEquals(1, metrics.getStarted());` any idea why that was 
off?


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to