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

Add acceptance test that 404 errors from registry do not get cached #28

Closed
wants to merge 2 commits into from

Conversation

Nitive
Copy link

@Nitive Nitive commented Jan 8, 2021

The was no problem with caching 404 responses so I just added test to confirm that


I based my work on #26 because there was added utility function to start registry
Diff for review: Nitive/kubeconform@cache-test...Nitive:do-not-cache-404-error-test

@Nitive Nitive mentioned this pull request Jan 8, 2021
@yannh
Copy link
Owner

yannh commented Jan 9, 2021

Hi @Nitive , thanks a lot for your time and your contributions 🙇 I think we could do something simpler, please check out #29 and let me know what you think, it should also cover this case. Thanks!

@Nitive
Copy link
Author

Nitive commented Jan 9, 2021

@yannh Looks good to me, the only thing I would change is schema cache fixture location. I left a comment in #29

@Nitive Nitive closed this Jan 9, 2021
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.

None yet

2 participants