We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89d9b86 commit 1ac4cb9Copy full SHA for 1ac4cb9
sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveUtilsSuite.scala
@@ -38,7 +38,7 @@ class HiveUtilsSuite extends QueryTest with SQLTestUtils with TestHiveSingleton
38
sys.props.put("spark.hadoop.foo", "bar")
39
Seq(true, false) foreach { useInMemoryDerby =>
40
val hiveConf = HiveUtils.newTemporaryConfiguration(useInMemoryDerby)
41
- intercept[NoSuchElementException](hiveConf("spark.hadoop.foo") === "bar")
+ assert(!hiveConf.contains("spark.hadoop.foo"))
42
assert(hiveConf("foo") === "bar")
43
}
44
0 commit comments