-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
opa test --bench
panics on failing test
#7205
Comments
Looks like it's hitting this case. |
Yes, but how does that turn into a panic / nil dereference? 🤔 |
I haven't checked the code but are there any other goroutines running? |
This issue has been automatically marked as inactive because it has not had any activity in the last 30 days. Although currently inactive, the issue could still be considered and actively worked on in the future. More details about the use-case this issue attempts to address, the value provided by completing it or possible solutions to resolve it would help to prioritize the issue. |
Fixes open-policy-agent#7205 Signed-off-by: Anders Eknert <[email protected]>
Fixes open-policy-agent#7205 Signed-off-by: Anders Eknert <[email protected]>
Fixes open-policy-agent#7205 Signed-off-by: Anders Eknert <[email protected]>
Fixes open-policy-agent#7205 Signed-off-by: Anders Eknert <[email protected]>
Tested with both v0.70.0 and current main. While I think
--bench
is meant to work with successful tests only, it seems like the error handling is borked.b.rego
If I change the test to succeed, the command works as expected.
The text was updated successfully, but these errors were encountered: