Skip to content

Commit

Permalink
perf test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bli committed Sep 26, 2024
1 parent cb8dffb commit ebea9a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/jenkins_perf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

9 changes: 7 additions & 2 deletions scripts/jenkins_regress_gcp_latest_jdbc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebea9a2

Please sign in to comment.