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

fix(test): Fixed config tests for varnish to work on any OS #310

Merged
merged 2 commits into from
Mar 22, 2022

Conversation

cpheps
Copy link
Contributor

@cpheps cpheps commented Mar 22, 2022

Proposed Change

The previous varnish tests depended on an os specific string for path errors. Due to using multierror it makes error checking a bit difficult using errors.Is so I removed the compound test and update tests to check errors for string contains of base error.

Checklist
  • Changes are tested
  • CI has passed

@cpheps cpheps requested a review from a team as a code owner March 22, 2022 18:11
@cpheps cpheps force-pushed the fix-varnish-tests branch from 17d2d7f to 73720d1 Compare March 22, 2022 18:13
Copy link
Contributor

@dehaansa dehaansa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with brandon's note.

@cpheps cpheps merged commit 02c064e into main Mar 22, 2022
@cpheps cpheps deleted the fix-varnish-tests branch March 22, 2022 18:59
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.

4 participants