From 5bfd2232db973361c2e7527624d2e34a70dddbc6 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Wed, 12 Jun 2024 13:43:20 -0600 Subject: [PATCH] Explicitly specify that we are catching all Throwable types --- .../scala/org/apache/comet/CometExpressionCoverageSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark/src/test/scala/org/apache/comet/CometExpressionCoverageSuite.scala b/spark/src/test/scala/org/apache/comet/CometExpressionCoverageSuite.scala index 525d21ba5..7ea2f502f 100644 --- a/spark/src/test/scala/org/apache/comet/CometExpressionCoverageSuite.scala +++ b/spark/src/test/scala/org/apache/comet/CometExpressionCoverageSuite.scala @@ -324,7 +324,7 @@ class CometExpressionCoverageSuite extends CometTestBase with AdaptiveSparkPlanH datafusionMessage = dfMessage.getOrElse("")), group = func.group) - case e => + case e: Throwable => CoverageResult( q, CoverageResultStatus.Failed,