From ebea9a2b78775c9305c284fd738be785f07ff586 Mon Sep 17 00:00:00 2001 From: Bing Li Date: Wed, 25 Sep 2024 18:25:11 -0700 Subject: [PATCH] perf test --- scripts/jenkins_perf.sh | 4 ++-- scripts/jenkins_regress_gcp_latest_jdbc.sh | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/jenkins_perf.sh b/scripts/jenkins_perf.sh index 2019e94d..43d61438 100755 --- a/scripts/jenkins_perf.sh +++ b/scripts/jenkins_perf.sh @@ -4,6 +4,6 @@ gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output profile.properties scripts/profile.properties.gpg gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output snowhouse.properties scripts/snowhouse.properties.gpg -mvn clean compile -mvn -Dgpg.skip -DtagsToInclude=com.snowflake.snowpark.PerfTest -DargLine="-DPERF_TEST=true -Xss1G" test +sbt clean compile +sbt "testOnly com.snowflake.snowpark.PerfTest" -J-DargLine="-DPERF_TEST=true -Xss1G" diff --git a/scripts/jenkins_regress_gcp_latest_jdbc.sh b/scripts/jenkins_regress_gcp_latest_jdbc.sh index 1fd573c0..ce36e2b9 100755 --- a/scripts/jenkins_regress_gcp_latest_jdbc.sh +++ b/scripts/jenkins_regress_gcp_latest_jdbc.sh @@ -40,8 +40,13 @@ build_jdbc # skip com.snowflake.snowpark.ReplSuite because classpath are not set well for local jdbc jar rm -fr ./src/test/scala/com/snowflake/snowpark/ReplSuite.scala -exit_code_decorator "mvn clean compile" -exit_code_decorator "mvn -Dgpg.skip -DtagsToExclude=UnstableTest,com.snowflake.snowpark.PerfTest,SampleDataTest test" +exit_code_decorator "sbt clean compile" +exit_code_decorator "sbt JavaAPITests:test" +exit_code_decorator "sbt SprocTests:test" +exit_code_decorator "sbt NonparallelTests:test" +exit_code_decorator "sbt UDFTests:test" +exit_code_decorator "sbt UDTFTests:test" +exit_code_decorator "sbt OtherTests:test" # clean up rm -fr snowflake-jdbc