You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ev...@apache.org on 2019/01/11 06:37:41 UTC

[bigtop] branch master updated: BIGTOP-3131. Apex smoke test requires mvn to compile test jar (#440)

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 <ev...@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"