Skip to content

Commit

Permalink
Use a more random suffix in dev/test-dependencies.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Jan 2, 2016
1 parent 15bd736 commit 8e86e9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ def run_python_tests(test_modules, parallelism):


def run_build_tests():
# set_title_and_block("Running build tests", "BLOCK_BUILD_TESTS")
# run_cmd([os.path.join(SPARK_HOME, "dev", "test-dependencies.sh")])
set_title_and_block("Running build tests", "BLOCK_BUILD_TESTS")
run_cmd([os.path.join(SPARK_HOME, "dev", "test-dependencies.sh")])
pass


Expand Down
2 changes: 1 addition & 1 deletion dev/test-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ HADOOP_PROFILES=(

# See http://stackoverflow.com/a/3545363 for an explanation of this one-liner:
OLD_VERSION=$($MVN help:evaluate -Dexpression=project.version|grep -Ev '(^\[|Download\w+:)')
TEMP_VERSION="spark-$(date +%s | tail -c6)"
TEMP_VERSION="spark-$(python -S -c "import random; print random.randrange(100000, 999999)")"

function reset_version {
# Delete the temporary POMs that we wrote to the local Maven repo:
Expand Down

0 comments on commit 8e86e9c

Please sign in to comment.