summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-07-14 09:09:01 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-07-14 09:09:01 -0400
commit199ce71ff2dfb2c32710c1bf39b72255f8427deb (patch)
tree4d42f6f7a3401e0144b8acc5971ebb4c66bfbcd3 /roles/lib_openshift/library
parentf51e0082fe17f14aec5e14facc143986f47cf260 (diff)
downloadopenshift-199ce71ff2dfb2c32710c1bf39b72255f8427deb.tar.gz
openshift-199ce71ff2dfb2c32710c1bf39b72255f8427deb.tar.bz2
openshift-199ce71ff2dfb2c32710c1bf39b72255f8427deb.tar.xz
openshift-199ce71ff2dfb2c32710c1bf39b72255f8427deb.zip
Fixed tests and added sleep for update.
Diffstat (limited to 'roles/lib_openshift/library')
-rw-r--r--roles/lib_openshift/library/oc_storageclass.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/lib_openshift/library/oc_storageclass.py b/roles/lib_openshift/library/oc_storageclass.py
index 5ca2e23a7..37c8f9ebc 100644
--- a/roles/lib_openshift/library/oc_storageclass.py
+++ b/roles/lib_openshift/library/oc_storageclass.py
@@ -1544,6 +1544,7 @@ class OCStorageClass(OpenShiftCLI):
self.delete()
# pause here and attempt to wait for delete.
# Better option would be to poll
+ import time
time.sleep(5)
return self.create()