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: make sure lookup_ip_addr throwing builtin-err in test #1017

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

boranx
Copy link
Member

@boranx boranx commented Nov 4, 2024

It looks like non-existent domains are no longer causing built-in-err for lookup_ip_addr, except the parse-related issues.
This PR makes sure lookup_ip_addr used in tests throws a parse error which causes builtin-err

It seems there's a regression on our test when the underlying name-resolution libs behavior changed after an opa/golang version update: https://github.com/open-policy-agent/opa/blob/main/docs/content/policy-reference.md#notes-on-name-resolution-netlookup_ip_addr

Addresses CI errors on: #1016 #1015 #1009 #1008

@boranx boranx requested a review from jalseth November 4, 2024 17:26
@boranx
Copy link
Member Author

boranx commented Nov 12, 2024

I'll go ahead and fix the test for lookup_ip_addr to fix CI for now
We can re-evaluate the test in another PR

@boranx boranx merged commit 4f6bc40 into open-policy-agent:master Nov 12, 2024
7 checks passed
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.

1 participant