diff --git a/src/it/scala/org/apache/spark/sql/snowflake/SFTestSessionBase.scala b/src/it/scala/org/apache/spark/sql/snowflake/SFTestSessionBase.scala index 8a9ed7e8..6dc69499 100644 --- a/src/it/scala/org/apache/spark/sql/snowflake/SFTestSessionBase.scala +++ b/src/it/scala/org/apache/spark/sql/snowflake/SFTestSessionBase.scala @@ -2,7 +2,6 @@ package org.apache.spark.sql.snowflake import net.snowflake.spark.snowflake.{IntegrationEnv, Parameters} import org.apache.spark.sql.SparkSession -import org.apache.logging.log4j.Level import scala.language.implicitConversions import scala.util.Random @@ -35,7 +34,7 @@ trait SFTestSessionBase extends IntegrationEnv { super.beforeAll() // Run ported test in WARN level to avoid large log volume if (USE_LOG4J2_PROPERTIES) { - reconfigureLog4j2LogLevel(Level.WARN) + assert(false) } else { reconfigureLogFile(PORTED_TEST_LOG4J_PROPERTY) } @@ -56,7 +55,7 @@ trait SFTestSessionBase extends IntegrationEnv { try { // Reset test log level to default. if (USE_LOG4J2_PROPERTIES) { - reconfigureLog4j2LogLevel(Level.INFO) + assert(false) } else { reconfigureLogFile(DEFAULT_LOG4J_PROPERTY) }