summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/test/unit
diff options
context:
space:
mode:
authorFabian von Feilitzsch <fabian@fabianism.us>2017-11-20 11:34:23 -0500
committerFabian von Feilitzsch <fabian@fabianism.us>2017-11-28 13:44:07 -0500
commit4f72e8a10da24aa231498c897db1153ef51ba2ee (patch)
tree14a8da11ac81e548d76086434aa2a2521cf52550 /roles/lib_openshift/src/test/unit
parente7e699a4201754fe9ccd1b9adffad5be5fff18b3 (diff)
downloadopenshift-4f72e8a10da24aa231498c897db1153ef51ba2ee.tar.gz
openshift-4f72e8a10da24aa231498c897db1153ef51ba2ee.tar.bz2
openshift-4f72e8a10da24aa231498c897db1153ef51ba2ee.tar.xz
openshift-4f72e8a10da24aa231498c897db1153ef51ba2ee.zip
Bug 1512793- Fix idempotence issues in ASB deploy
- Add support for annotations in oc_service - Use oc_service instead of oc_obj - Use oc_pvc instead of oc_obj - Work around lack of idempotency for oc_obj DeploymentConfig
Diffstat (limited to 'roles/lib_openshift/src/test/unit')
-rwxr-xr-xroles/lib_openshift/src/test/unit/test_oc_service.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/lib_openshift/src/test/unit/test_oc_service.py b/roles/lib_openshift/src/test/unit/test_oc_service.py
index 9c21a262f..2a7b3c7dc 100755
--- a/roles/lib_openshift/src/test/unit/test_oc_service.py
+++ b/roles/lib_openshift/src/test/unit/test_oc_service.py
@@ -34,6 +34,7 @@ class OCServiceTest(unittest.TestCase):
'ports': None,
'state': 'list',
'labels': None,
+ 'annotations': None,
'clusterip': None,
'portalip': None,
'selector': None,
@@ -120,6 +121,7 @@ class OCServiceTest(unittest.TestCase):
'targetPOrt': 9000},
'state': 'present',
'labels': None,
+ 'annotations': None,
'clusterip': None,
'portalip': None,
'selector': {'router': 'router'},
@@ -318,6 +320,7 @@ class OCServiceTest(unittest.TestCase):
'targetPOrt': 9000},
'state': 'present',
'labels': {'component': 'some_component', 'infra': 'true'},
+ 'annotations': None,
'clusterip': None,
'portalip': None,
'selector': {'router': 'router'},
@@ -407,6 +410,7 @@ class OCServiceTest(unittest.TestCase):
'targetPOrt': 9000},
'state': 'present',
'labels': {'component': 'some_component', 'infra': 'true'},
+ 'annotations': None,
'clusterip': None,
'portalip': None,
'selector': {'router': 'router'},