From 3b6f338c9c06dd6457baf6271eb2c21f7fed8aeb Mon Sep 17 00:00:00 2001 From: surite Date: Wed, 26 Aug 2020 14:23:03 +0800 Subject: [PATCH] update testng classpath --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7df1ab648..8e98608b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,6 +52,6 @@ jobs: - docker cp l10n singleton:/ - str=$(printf '=%.0s' {1..50}) - echo $str Smoke Test Start $str - - java -cp './target/*' org.testng.TestNG -d test-output ./target/testng.xml + - cd target && java -cp '.:./*' org.testng.TestNG -d test-output testng.xml - cd $TRAVIS_BUILD_DIR/devops/autotest/client/java_client_sample_app && ./sample_app_sanity_test.sh $TRAVIS_BUILD_DIR - echo $str Smoke Test End $str