summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorZhao Chao <zhaochao1984@gmail.com>2018-06-27 12:10:42 +0800
committerZhao Chao <zhaochao1984@gmail.com>2018-07-09 23:14:40 +0800
commitceaaf161e3ea9c0b6bcbe8aa48beda800b867d67 (patch)
treec0acf3f7faf66e7bfffc6dd908ef63ac67115f3c /playbooks
parentdc8824966c46bb2c168403d8bd3c30355d98bea1 (diff)
downloadtrove-ceaaf161e3ea9c0b6bcbe8aa48beda800b867d67.tar.gz
Raise timeout for instance resizing checking job
Recently the trove-functional-mysql usually failed by timeout at the test_instance_returns_to_active_after_resize case, and the cause is creating and resizing instances could be quit slow(e.g. 1200+ seconds). This may be caused by the pressure of the CI system and should be further investigated. The patch is a quick fix for the problem by raising the timeout to 30 minutes(it's now 900 seconds by default, but instead it's 32 minutes for instance creating, so raising the value to 30 minutes should be reasonable). Partial-Bug: #1778837 Change-Id: Ib903a72b098499553978ec881843a7bbee25b45f Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/legacy/trove-functional-dsvm-mysql/run.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/legacy/trove-functional-dsvm-mysql/run.yaml b/playbooks/legacy/trove-functional-dsvm-mysql/run.yaml
index d04890e1..17dbbcd7 100644
--- a/playbooks/legacy/trove-functional-dsvm-mysql/run.yaml
+++ b/playbooks/legacy/trove-functional-dsvm-mysql/run.yaml
@@ -30,6 +30,7 @@
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove
+ TROVE_RESIZE_TIME_OUT=1800
EOF
executable: /bin/bash
@@ -56,6 +57,7 @@
export DEST=$BASE/new
export PATH_DEVSTACK_SRC=$DEST/devstack
cd /opt/stack/new/trove/integration/scripts
+ export TROVE_RESIZE_TIME_OUT=1800
./trovestack dsvm-gate-tests mysql
}
export -f post_test_hook