Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Sep 24, 2023
1 parent c1edce2 commit eb2484b
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,17 +388,19 @@ class SparkProcessBuilderSuite extends KerberizedTestHelper with MockitoSugar {
case "2.12" => Seq(
"spark-3.2.4-bin-hadoop3.2",
"spark-3.2.4-bin-hadoop2.7",
"spark-3.4.1-bin-hadoop3").foreach { sparkHome =>
assertMatches(sparkHome, homeRegexForScala212)
assertNotMatches(sparkHome, homeRegexForScala213)
}
"spark-3.4.1-bin-hadoop3")
.foreach { sparkHome =>
assertMatches(sparkHome, homeRegexForScala212)
assertNotMatches(sparkHome, homeRegexForScala213)
}
case "2.13" => Seq(
"spark-3.2.4-bin-hadoop3.2-scala2.13",
"spark-3.4.1-bin-hadoop3-scala2.13",
"spark-3.5.0-bin-hadoop3-scala2.13").foreach { sparkHome =>
assertMatches(sparkHome, homeRegexForScala213)
assertNotMatches(sparkHome, homeRegexForScala212)
}
"spark-3.5.0-bin-hadoop3-scala2.13")
.foreach { sparkHome =>
assertMatches(sparkHome, homeRegexForScala213)
assertNotMatches(sparkHome, homeRegexForScala212)
}
}
}
}
Expand Down

0 comments on commit eb2484b

Please sign in to comment.