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

Fixing test-time-0947 #7093

Merged
merged 2 commits into from
Oct 3, 2024
Merged

Conversation

matajoh
Copy link
Contributor

@matajoh matajoh commented Oct 3, 2024

Why the changes in this PR are needed?

There is a bug in test-time-0947 (see #7038).

What are the changes in this PR?

The unification in the test has been replaced by an explicit equality check, to aid in readability and fix the bug.

Further comments:

Fixes #7038

Signed-off-by: Matthew Johnson <[email protected]>
Copy link
Contributor

@johanfylling johanfylling left a comment

Choose a reason for hiding this comment

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

Thank you! 😃

@@ -9,7 +9,7 @@ cases:
time.now_ns(t0)
test.sleep("10ms")
time.now_ns(t1)
t1 = t2
t0 == t1
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@johanfylling johanfylling merged commit c74b50a into open-policy-agent:main Oct 3, 2024
28 checks passed
@matajoh matajoh deleted the bugfix-7038 branch October 4, 2024 09:41
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.

test-time-0947 potentially incorrect?
2 participants