You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by da...@apache.org on 2016/06/08 01:33:14 UTC

[2/2] incubator-kudu git commit: update dist-test configuration for new client.py location

update dist-test configuration for new client.py location

client.py has been moved to bin/client

Change-Id: I48e4617222b8b503b21eeb560800dc5619d7ac26
Reviewed-on: http://gerrit.cloudera.org:8080/3332
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/e4833d2d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/e4833d2d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/e4833d2d

Branch: refs/heads/master
Commit: e4833d2df35721c03955ef0902a70c2de2536f99
Parents: 9cdfc66
Author: Dan Burkert <da...@cloudera.com>
Authored: Tue Jun 7 18:02:06 2016 -0700
Committer: Dan Burkert <da...@cloudera.com>
Committed: Wed Jun 8 01:32:28 2016 +0000

----------------------------------------------------------------------
 build-support/dist_test.py              | 2 +-
 build-support/jenkins/build-and-test.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/e4833d2d/build-support/dist_test.py
----------------------------------------------------------------------
diff --git a/build-support/dist_test.py b/build-support/dist_test.py
index c03dad2..d6a29d9 100755
--- a/build-support/dist_test.py
+++ b/build-support/dist_test.py
@@ -350,7 +350,7 @@ def submit_tasks(staging, options):
         "Set the DIST_TEST_HOME environment variable to the path to the dist_test directory. " \
         % DIST_TEST_HOME,
     raise OSError("Cannot find path to dist_test tools")
-  client_py_path = os.path.join(DIST_TEST_HOME, "client.py")
+  client_py_path = os.path.join(DIST_TEST_HOME, "bin", "client")
   try:
     cmd = [client_py_path, "submit"]
     if options.no_wait:

http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/e4833d2d/build-support/jenkins/build-and-test.sh
----------------------------------------------------------------------
diff --git a/build-support/jenkins/build-and-test.sh b/build-support/jenkins/build-and-test.sh
index 159c785..247a333 100755
--- a/build-support/jenkins/build-and-test.sh
+++ b/build-support/jenkins/build-and-test.sh
@@ -373,13 +373,13 @@ if [ "$ENABLE_DIST_TEST" == "1" ]; then
   echo
   echo Fetching previously submitted dist-test results...
   echo ------------------------------------------------------------
-  if ! $DIST_TEST_HOME/client.py watch ; then
+  if ! $DIST_TEST_HOME/bin/client watch ; then
     EXIT_STATUS=1
     FAILURES="$FAILURES"$'Distributed tests failed\n'
   fi
   DT_DIR=$TEST_LOGDIR/dist-test-out
   rm -Rf $DT_DIR
-  $DIST_TEST_HOME/client.py fetch --artifacts -d $DT_DIR
+  $DIST_TEST_HOME/bin/client fetch --artifacts -d $DT_DIR
   # Fetching the artifacts expands each log into its own directory.
   # Move them back into the main log directory
   rm -f $DT_DIR/*zip