-
Notifications
You must be signed in to change notification settings - Fork 113
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
[CI] Fix device race in golang tests #612
Conversation
…a function that will handle calling runtime.SetDevice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix 💪
LGTM but bn254 golang test failed 😢
Not sure why that failed. From the values of the failure it looks like the functions didn't run and just returned the default values. Everything passes locally (on multiple machines) consistently. I added a proper exit code for the tests so this would be easier to catch in the future |
f674f14
to
b58af44
Compare
8ae6328
to
8a004d3
Compare
Describe the changes
This PR updates golang tests to include a suite that allows us to wrap each test in a function that will handle calling runtime.SetDevice