summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2014-08-25 17:37:40 -0400
committerDoug Hellmann <doug@doughellmann.com>2014-08-26 10:52:38 -0400
commit86fe20f8df066efe9ecadb6d16408c65f64bc7f2 (patch)
tree5a0fad3d1ce447199f378e1330ff104b9aca4930
parente4d9c6d9909ea2fdcbbeb45ccf15bdc223152615 (diff)
downloadcliff-86fe20f8df066efe9ecadb6d16408c65f64bc7f2.tar.gz
Fix stable integration tests
Change-Id: I7def2163b8e2064a7af4f0f53861ae3e7aec1e9c
-rwxr-xr-xintegration-tests/neutronclient-stable.sh4
-rwxr-xr-xintegration-tests/openstackclient-stable.sh4
-rwxr-xr-xintegration-tests/openstackclient-tip.sh4
3 files changed, 12 insertions, 0 deletions
diff --git a/integration-tests/neutronclient-stable.sh b/integration-tests/neutronclient-stable.sh
index 6c5ad56..0a04d34 100755
--- a/integration-tests/neutronclient-stable.sh
+++ b/integration-tests/neutronclient-stable.sh
@@ -18,5 +18,9 @@ pip install --no-clean -ve .
# Install the test requirements
pip install --no-clean -r $srcdir/test-requirements.txt
+# Force a known hash seed value to avoid sorting errors from tox
+# giving us a random one.
+export PYTHONHASHSEED=0
+
# Run testr
python setup.py testr
diff --git a/integration-tests/openstackclient-stable.sh b/integration-tests/openstackclient-stable.sh
index af703df..3b30d45 100755
--- a/integration-tests/openstackclient-stable.sh
+++ b/integration-tests/openstackclient-stable.sh
@@ -18,5 +18,9 @@ pip install --no-clean -ve .
# Install the test requirements
pip install --no-clean -r $srcdir/test-requirements.txt
+# Force a known hash seed value to avoid sorting errors from tox
+# giving us a random one.
+export PYTHONHASHSEED=0
+
# Run testr
python setup.py testr
diff --git a/integration-tests/openstackclient-tip.sh b/integration-tests/openstackclient-tip.sh
index b24ff31..871b3a3 100755
--- a/integration-tests/openstackclient-tip.sh
+++ b/integration-tests/openstackclient-tip.sh
@@ -11,4 +11,8 @@ cd $envdir/src/openstackclient/
pip install -r test-requirements.txt
+# Force a known hash seed value to avoid sorting errors from tox
+# giving us a random one.
+export PYTHONHASHSEED=0
+
python setup.py testr