File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
sql/core/src/test/scala/org/apache/spark/sql Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ class SQLConfSuite extends QueryTest {
2828 val testVal = " test.val.0"
2929
3030 test(" programmatic ways of basic setting and getting" ) {
31+ clear()
3132 assert(getOption(testKey).isEmpty)
3233 assert(getAll.toSet === Set ())
3334
@@ -48,6 +49,7 @@ class SQLConfSuite extends QueryTest {
4849 }
4950
5051 test(" parse SQL set commands" ) {
52+ clear()
5153 sql(s " set $testKey= $testVal" )
5254 assert(get(testKey, testVal + " _" ) == testVal)
5355 assert(TestSQLContext .get(testKey, testVal + " _" ) == testVal)
Original file line number Diff line number Diff line change @@ -402,6 +402,7 @@ class SQLQuerySuite extends QueryTest {
402402 sql(s " SET $nonexistentKey" ),
403403 Seq (Seq (s " $nonexistentKey is undefined " ))
404404 )
405+ clear()
405406 }
406407
407408}
You can’t perform that action at this time.
0 commit comments