Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bli committed Oct 4, 2024
1 parent d4835a5 commit ec723ee
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit ec723ee

Please sign in to comment.