You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2018/10/10 20:47:53 UTC
[GitHub] sohami closed pull request #1499: DRILL-6788: Intermittent unit test failure TestDrillbitResilience.fai…
sohami closed pull request #1499: DRILL-6788: Intermittent unit test failure TestDrillbitResilience.fai…
URL: https://github.com/apache/drill/pull/1499
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestDrillbitResilience.java b/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestDrillbitResilience.java
index 9f772e4d81b..c3238cafee0 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestDrillbitResilience.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestDrillbitResilience.java
@@ -742,8 +742,10 @@ public void failsWhenParsing() {
final String exceptionDesc = "sql-parsing";
final Class<? extends Throwable> exceptionClass = ForemanSetupException.class;
+ // Inject the failure twice since there can be retry after first failure introduced in DRILL-6762. Retry is because
+ // of version mismatch in local and remote function registry which syncs up lazily.
final String controls = Controls.newBuilder()
- .addException(DrillSqlWorker.class, exceptionDesc, exceptionClass)
+ .addException(DrillSqlWorker.class, exceptionDesc, exceptionClass, 0, 2)
.build();
assertFailsWithException(controls, exceptionClass, exceptionDesc);
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services