Skip to content

Commit 3a906c6

Browse files
marmbrusJoshRosen
authored andcommitted
[HOTFIX][SQL] Remove sleep on reset() failure.
Author: Michael Armbrust <[email protected]> Closes #2934 from marmbrus/patch-2 and squashes the following commits: a96dab2 [Michael Armbrust] Remove sleep on reset() failure.
1 parent 07e439b commit 3a906c6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/TestHive.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,10 +438,6 @@ class TestHiveContext(sc: SparkContext) extends HiveContext(sc) {
438438
} catch {
439439
case e: Exception =>
440440
logError("FATAL ERROR: Failed to reset TestDB state.", e)
441-
// At this point there is really no reason to continue, but the test framework traps exits.
442-
// So instead we just pause forever so that at least the developer can see where things
443-
// started to go wrong.
444-
Thread.sleep(100000)
445441
}
446442
}
447443
}

0 commit comments

Comments
 (0)