File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
test/openshift/e2e/sequential
1-035_validate_argocd_secret_repopulate
1-040_validate_quoted_RBAC_group_names Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ commands:
4
4
- script : |
5
5
api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}")
6
6
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)
8
10
9
11
if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then
10
12
if [[ "${output}" == *"rpc error: code = Unknown desc = server.secretkey is missing" ]]; then
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ commands:
5
5
api_server=$(oc get routes -n openshift-gitops --field-selector metadata.name=openshift-gitops-server -o jsonpath="{.items[*]['spec.host']}")
6
6
password=$(oc get secret openshift-gitops-cluster -n openshift-gitops -o jsonpath='{.data.admin\.password}' | base64 -d)
7
7
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
+
10
11
if ! [[ "${output}" =~ "'admin:login' logged in successfully" ]]; then
11
12
exit 1
12
13
fi
You can’t perform that action at this time.
0 commit comments