You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2016/04/28 17:47:48 UTC
kylin git commit: minor, update smoke-test.sh
Repository: kylin
Updated Branches:
refs/heads/master 88c919489 -> b345cf60a
minor, update smoke-test.sh
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/b345cf60
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/b345cf60
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/b345cf60
Branch: refs/heads/master
Commit: b345cf60aa5410bcce93d80aa9910f41849d66e5
Parents: 88c9194
Author: lidongsjtu <li...@apache.org>
Authored: Thu Apr 28 23:47:46 2016 +0800
Committer: lidongsjtu <li...@apache.org>
Committed: Thu Apr 28 23:47:46 2016 +0800
----------------------------------------------------------------------
build/smoke-test/smoke-test.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/b345cf60/build/smoke-test/smoke-test.sh
----------------------------------------------------------------------
diff --git a/build/smoke-test/smoke-test.sh b/build/smoke-test/smoke-test.sh
index 5150297..06d930a 100755
--- a/build/smoke-test/smoke-test.sh
+++ b/build/smoke-test/smoke-test.sh
@@ -64,13 +64,13 @@ ${KYLIN_HOME}/bin/kylin.sh start
echo "Wait 3 minutes for service start."
sleep 3m
-cd smoke-test
+cd $dir/smoke-test
python testBuildCube.py || { exit 1; }
python testQuery.py || { exit 1; }
-cd ..
+cd -
# Tear down stage
${KYLIN_HOME}/bin/metastore.sh clean --delete true
${KYLIN_HOME}/bin/kylin.sh org.apache.kylin.storage.hbase.util.StorageCleanupJob --delete true
${KYLIN_HOME}/bin/metastore.sh reset
-${KYLIN_HOME}/bin/kylin.sh stop
\ No newline at end of file
+${KYLIN_HOME}/bin/kylin.sh stop