You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Spark 4.0.0 test suite on JDK 17 to spark_2.13 (#12049)
Add Spark 4.0.0 test suite on JDK 17 to spark_2.13
Mirror Spark's full JDK 17 module opens in test_spark4
Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/spark/spark-common/src/testFixtures/groovy/datadog/trace/instrumentation/spark/AbstractSparkListenerTest.groovy
+21-12Lines changed: 21 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,15 @@ abstract class AbstractSparkListenerTest extends InstrumentationSpecification {
60
60
)
61
61
}
62
62
63
+
protectedapplicationEndEvent(Longtime) {
64
+
// Constructor of SparkListenerApplicationEnd gained an exitCode parameter starting spark 4.0
65
+
if (TestSparkComputation.getSparkVersion() <"4") {
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/spark/spark-common/src/testFixtures/groovy/datadog/trace/instrumentation/spark/AbstractSparkTest.groovy
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,8 @@ abstract class AbstractSparkTest extends InstrumentationSpecification {
0 commit comments