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

commented out inconsistent tests #176

Merged
merged 4 commits into from
Jul 11, 2024

Conversation

AlysonStahl-NOAA
Copy link
Collaborator

Part of #175

I'm just commenting these out for now so they don't mess wit other PRs

@AlysonStahl-NOAA AlysonStahl-NOAA marked this pull request as ready for review July 9, 2024 16:48
#../wgrib2/wgrib2 wind.grb -wind_uv uv.grb
#../wgrib2/wgrib2 uv.grb > uv.txt
#cat uv.txt
#diff -w uv.txt data/ref_uv.gdas.t12z.pgrb2.1p00.anl.75r.grib2.inv
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably you just need to comment out the diff calls.

But first, try using cmp instead of diff to compare the files. I think that might work better.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I switched to diff so I can ignore white space in the file comparisons.

For these tests the outputs are truly different, but only sometimes. I can never seem to recreate the issue locally, it only occurs on the CI every few runs or so.

@AlysonStahl-NOAA AlysonStahl-NOAA merged commit 6024ee7 into NOAA-EMC:develop Jul 11, 2024
5 checks passed
@AlysonStahl-NOAA AlysonStahl-NOAA deleted the as_tests5 branch July 11, 2024 16:00
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.

2 participants