Skip to content

Commit 9f6c8c4

Browse files
authored
Fix interop test failures (redhat-developer#842)
* Update 01-login_argocd_api_server.yaml * Update 05-argocd_login.yaml
1 parent adb33b3 commit 9f6c8c4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

test/openshift/e2e/sequential/1-035_validate_argocd_secret_repopulate/05-argocd_login.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ commands:
44
- script: |
55
api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}")
66
password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d)
7-
output=$(argocd login $api_server --username admin --password $password --insecure)
7+
8+
# --skip-test-tls is added as a temporary fix to "context deadline exceeded" failure
9+
output=$(argocd login $api_server --username admin --password $password --insecure --skip-test-tls)
810
911
if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then
1012
if [[ "${output}" == *"rpc error: code = Unknown desc = server.secretkey is missing" ]]; then

test/openshift/e2e/sequential/1-040_validate_quoted_RBAC_group_names/01-login_argocd_api_server.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ commands:
55
api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}")
66
password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d)
77
8-
output=$(argocd login $api_server --username admin --password $password --insecure)
9-
8+
# --skip-test-tls is added as a temporary fix to "context deadline exceeded" failure
9+
output=$(argocd login $api_server --username admin --password $password --insecure --skip-test-tls)
10+
1011
if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then
1112
exit 1
1213
fi

0 commit comments

Comments
 (0)