Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.19.0
-
None
Description
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
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)
Failed tests: TestDrillbitResilience.cancelAfterAllResultsProduced:672->assertCancelledWithoutException:564->assertCancelledWithoutException:557->assertStateCompleted:543 Query state is incorrect (expected: CANCELED, actual: COMPLETED) AND/OR Exception thrown: none
Attachments
Issue Links
- is a child of
-
DRILL-1491 Support for JDK 8
- Resolved
- is fixed by
-
DRILL-8030 Intermittent TestDrillbitResilience cancelInMiddleOfFetchingResults and foreman_runTryEnd failures
- Resolved
- relates to
-
DRILL-3967 Broken Test: TestDrillbitResilience.cancelAfterEverythingIsCompleted()
- Closed