Skip to content

Commit

Permalink
Increase Trusted CA Bundle Resource Check Timeouts (#1796)
Browse files Browse the repository at this point in the history
Increase Trusted CA Bundle test cases resource check timeouts.
  • Loading branch information
mattmahoneyrh authored Sep 10, 2024
2 parents 5b9d1c8 + c6718ea commit 91a5a74
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ Validate Trusted CA Bundles State Managed
... each non-reserved namespace.
[Tags] Operator Smoke ODS-2638 TrustedCABundle-Managed
Wait Until Keyword Succeeds 2 min 0 sec
Wait Until Keyword Succeeds 5 min 0 sec
... Is Resource Present project ${TEST_NS} ${TEST_NS} ${IS_PRESENT}

Wait Until Keyword Succeeds 3 min 0 sec
Wait Until Keyword Succeeds 5 min 0 sec
... Is Resource Present ConfigMap ${TRUSTED_CA_BUNDLE_CONFIGMAP} ${TEST_NS} ${IS_PRESENT}

# Check that ConfigMap contains key "ca-bundle.crt"
Wait Until Keyword Succeeds 3 min 0 sec
Wait Until Keyword Succeeds 5 min 0 sec
... Check ConfigMap Contains CA Bundle Key ${TRUSTED_CA_BUNDLE_CONFIGMAP} ca-bundle.crt ${TEST_NS}

Set Custom CA Bundle Value In DSCI ${DSCI_NAME} ${CUSTOM_CA_BUNDLE} ${OPERATOR_NS}
Wait Until Keyword Succeeds 2 min 0 sec
Wait Until Keyword Succeeds 5 min 0 sec
... Is CA Bundle Value Present ${TRUSTED_CA_BUNDLE_CONFIGMAP} ${CUSTOM_CA_BUNDLE} ${TEST_NS} ${IS_PRESENT}

[Teardown] Restore DSCI Trusted CA Bundle Settings ${SAVED_CUSTOM_CA_BUNDLE}
Expand All @@ -52,7 +52,7 @@ Validate Trusted CA Bundles State Unmanaged
# Trusted CA Bundle managementStatus 'Unmanaged' should NOT result in bundle being overwirtten by operator
Set Custom CA Bundle Value On ConfigMap
... ${TRUSTED_CA_BUNDLE_CONFIGMAP} random-ca-bundle-value ${TEST_NS} 5s
Wait Until Keyword Succeeds 1 min 0 sec
Wait Until Keyword Succeeds 5 min 0 sec
... Is CA Bundle Value Present ${TRUSTED_CA_BUNDLE_CONFIGMAP} random-ca-bundle-value ${TEST_NS} ${IS_PRESENT}

[Teardown] Restore DSCI Trusted CA Bundle Settings ${SAVED_CUSTOM_CA_BUNDLE}
Expand All @@ -65,7 +65,7 @@ Validate Trusted CA Bundles State Removed
Set Trusted CA Bundle Management State ${DSCI_NAME} Removed ${OPERATOR_NS}

# Check that odh-trusted-ca-bundle has been 'Removed'
Wait Until Keyword Succeeds 3 min 0 sec
Wait Until Keyword Succeeds 5 min 0 sec
... Is Resource Present ConfigMap ${TRUSTED_CA_BUNDLE_CONFIGMAP} ${TEST_NS} ${IS_NOT_PRESENT}

[Teardown] Restore DSCI Trusted CA Bundle Settings ${SAVED_CUSTOM_CA_BUNDLE}
Expand Down

0 comments on commit 91a5a74

Please sign in to comment.