-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from Cray-HPE/CASMPET-4654
CASMPET-4654: Add test to check for completion of the keycloak-users-localize job
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
goss-testing/tests/ncn/goss-k8s-keycloak-localize-job-completed.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright 2014-2021 Hewlett Packard Enterprise Development LP | ||
command: | ||
keycloak_users_localize_job_completed: | ||
title: Keycloak Users Localize Job Completed | ||
meta: | ||
desc: If this test fails, see /usr/share/doc/csm/troubleshooting/known_issues/craycli_403_forbidden_errors.md | ||
sev: 0 | ||
exec: kubectl -n services wait --for=condition=complete --timeout=3s job/`kubectl -n services get jobs | grep users-localize | awk '{print $1}'` | ||
exit-status: 0 | ||
timeout: 10000 | ||
skip: false |