bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From evan...@apache.org
Subject [bigtop] branch master updated: BIGTOP-3131. Apex smoke test requires mvn to compile test jar (#440)
Date Fri, 11 Jan 2019 06:37:41 GMT
This is an automated email from the ASF dual-hosted git repository.

evansye pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new 440ec16  BIGTOP-3131. Apex smoke test requires mvn to compile test jar (#440)
440ec16 is described below

commit 440ec168178f7369abaedff541741efcef91d8c9
Author: Evans Ye <evans_ye@trend.com.tw>
AuthorDate: Fri Jan 11 14:37:37 2019 +0800

    BIGTOP-3131. Apex smoke test requires mvn to compile test jar (#440)
---
 provisioner/utils/smoke-tests.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/provisioner/utils/smoke-tests.sh b/provisioner/utils/smoke-tests.sh
index 728b9bd..e4e2612 100755
--- a/provisioner/utils/smoke-tests.sh
+++ b/provisioner/utils/smoke-tests.sh
@@ -63,6 +63,11 @@ if [[ $SMOKE_TESTS == *"qfs"* ]]; then
     prep hadoop-qfs
 fi
 
+if [[ $SMOKE_TESTS == *"apex"* ]]; then
+    puppet apply --modulepath=/bigtop-home -e 'include bigtop_toolchain::maven'
+    export PATH=/usr/local/maven/bin:$PATH
+fi
+
 ALL_SMOKE_TASKS=""
 for s in `echo $SMOKE_TESTS | sed -e 's#,# #g'`; do
   ALL_SMOKE_TASKS="$ALL_SMOKE_TASKS bigtop-tests:smoke-tests:$s:test"


Mime
View raw message