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

Change the loop order to avoid executing the same test 3 times #3402

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

Xarthisius
Copy link
Member

Just to be extra sure that we're doing the right thing, we've been running the same FieldValuesTest 3 times every time small_patch_amr was used. No big deal! It's better to be safe than sorry! However, as I grow older I discover a daredevil in me. So I say: let's live our lives dangerously and run this test only once! How about that?

PR Summary

This PR switches the order of loops in small_patch_amr to allow FieldValuesTest to be run once, since it's independent of axis parameter.

Copy link
Member

@neutrinoceros neutrinoceros left a comment

Choose a reason for hiding this comment

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

This makes sense. Good catch !

@neutrinoceros neutrinoceros added tests: running tests Issues with the test setup bug labels Jul 1, 2021
@neutrinoceros
Copy link
Member

got a network error in load_sample tests, I relaunched the culprit job.

Copy link
Member

@matthewturk matthewturk left a comment

Choose a reason for hiding this comment

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

I honestly feel like this is my fault and this is a huge improvement

@neutrinoceros neutrinoceros merged commit 26c32e9 into yt-project:main Jul 7, 2021
@Xarthisius Xarthisius deleted the fix_small_patch branch July 7, 2021 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug tests: running tests Issues with the test setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants