summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSri Vignesh <sselvan@redhat.com>2020-08-18 11:47:22 +0530
committerSri Vignesh <sselvan@redhat.com>2020-08-18 12:11:36 +0000
commite62d575478bc8e74772eb2758a8faa3314472f05 (patch)
treee724132bab79fa3b85d7792687fc9a8adbc6c972
parenteafb6d5070f24a9f38556b99559ddde9c367bec5 (diff)
[TestFix] Increased timeout for wait for events lib
TC is failing with error during pvc create timeout and wait for event steps with race condition. increased timeout to fix this issue. Change-Id: I8f64dcf7ab6cbfa0087b329b05a23a212572190e Signed-off-by: Sri Vignesh <sselvan@redhat.com>
-rwxr-xr-xtests/functional/provisioning/test_dynamic_provisioning_block.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/provisioning/test_dynamic_provisioning_block.py b/tests/functional/provisioning/test_dynamic_provisioning_block.py
index 9d2b128..4fecc38 100755
--- a/tests/functional/provisioning/test_dynamic_provisioning_block.py
+++ b/tests/functional/provisioning/test_dynamic_provisioning_block.py
@@ -787,7 +787,8 @@ class TestDynamicProvisioningBlockP0(GlusterBlockBaseClass):
self.addCleanup(oc_delete, self.node, 'pvc', pvc_name)
events = wait_for_events(
self.node, obj_name=pvc_name, obj_type='PersistentVolumeClaim',
- event_type='Warning', event_reason='ProvisioningFailed')
+ event_type='Warning', event_reason='ProvisioningFailed',
+ timeout=180)
error = 'insufficient block hosts online'
err_msg = (
"Haven't found expected error message containing "