Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASMINST-6819: external-dns-resolver test improvements/fixes #580

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

mharding-hpe
Copy link
Contributor

@mharding-hpe mharding-hpe commented Apr 2, 2024

The goss-k8s-resolve-external-dns test currently fails on systems which have multiple LDAP servers configured (for example, all of the UKMet customer systems). In addition, it does not log its output. This PR does five things:

  1. Move the test code out of the Goss YAML file and into a Bash script
  2. Add more thorough error-checking and output to that script
  3. Modify that script to handle systems with single OR multiple LDAP servers configured
  4. Modify the Goss YAML file to log the output of the test script
  5. Update the test description in the Goss YAML file to be more accurate and informative.

I have tested the updated script on both internal systems and UKMet, and it works fine. I tested it both standalone and by running the updated Goss test.

Backports:
#581
#582

@mharding-hpe mharding-hpe requested a review from a team as a code owner April 2, 2024 16:41
@mharding-hpe
Copy link
Contributor Author

/backport release/1.5 release/1.4

Copy link
Contributor

github-actions bot commented Apr 2, 2024

Backporting into branch release/1.5 was successful. New PR: #581

Copy link
Contributor

github-actions bot commented Apr 2, 2024

Backporting into branch release/1.4 was successful. New PR: #582

…st output; make test able to handle systems with multiple LDAP servers
@mharding-hpe mharding-hpe merged commit 7231e0b into release/1.6 Apr 2, 2024
3 checks passed
@mharding-hpe mharding-hpe deleted the CASMINST-6819-1.6 branch April 2, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants