Volodymyr Tkach created DRILL-6228:
--------------------------------------

             Summary: Random failures of 
                 Key: DRILL-6228
                 URL: https://issues.apache.org/jira/browse/DRILL-6228
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Volodymyr Tkach


When running on jdk8 enviroment two unit tests randomly fails. To reproduce: 
change  @Repeat(count = 10) to  10 or more on both of them and run tests from 
command line:
mvn -Dtest=TestDrillbitResilience -pl exec/java-exec test



TestDrillbitResilience.cancelAfterAllResultsProduced
TestDrillbitResilience.cancelInMiddleOfFetchingResults

{noformat}
cancelInMiddleOfFetchingResults(org.apache.drill.exec.server.TestDrillbitResilience)
  Time elapsed: 10.498 sec  <<< FAILURE!
java.lang.AssertionError: Query state is incorrect (expected: CANCELED, actual: 
COMPLETED) AND/OR 
Exception thrown: none.
        at 
org.apache.drill.exec.server.TestDrillbitResilience.assertStateCompleted(TestDrillbitResilience.java:543)
        at 
org.apache.drill.exec.server.TestDrillbitResilience.assertCancelledWithoutException(TestDrillbitResilience.java:557)
        at 
org.apache.drill.exec.server.TestDrillbitResilience.assertCancelledWithoutException(TestDrillbitResilience.java:564)
        at 
org.apache.drill.exec.server.TestDrillbitResilience.cancelInMiddleOfFetchingResults(TestDrillbitResilience.java:644)
{noformat}

{noformat}
Failed tests: 
TestDrillbitResilience.cancelAfterAllResultsProduced:672->assertCancelledWithoutException:564->assertCancelledWithoutException:557->assertStateCompleted:543
 Query state is incorrect (expected: CANCELED, actual: COMPLETED) AND/OR 
Exception thrown: none
{noformat}





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to