Issue 339 error handling test coverage - #429
Merged
Merged
Conversation
…etype since MET v12 when 12 additional columns were added
…ables were updated.
experiment with setting up database for tests
back out the mysql database run command and env settings
fix typo
…ub.com/dtcenter/METdataio into issue_339_error_handling_test_coverage
…es to be consistent with the format of the original stat file
…lumns are added with default values
…cause an error in reading data files
…d additional pair_cluster data
…ster.txt incorrectly added this and removed original datafile. Remove this
…ub.com/dtcenter/METdataio into issue_339_error_handling_test_coverage
mollybsmith-noaa
left a comment
Contributor
There was a problem hiding this comment.
This looks good, and I just have a couple of comments. SonarQube did fail, but looking at the log it threw a 503 error, and not something to do with your code. Was this expected?
mollybsmith-noaa
self-requested a review
July 22, 2026 18:41
mollybsmith-noaa
approved these changes
Jul 22, 2026
mollybsmith-noaa
left a comment
Contributor
There was a problem hiding this comment.
If you are satisfied with the behavior of SonarQube here, this is good to be merged.
Collaborator
Author
|
I emailed Howard to see if there is something that changed in the sonarqube configuration. I expect to see the quality gate failure message because the test coverage is below the threshold value. I won't squash and merge until the sonarqube portion of the GHA is working again, just in case. |
23 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Testing
Describe testing already performed for these changes:
run all METdbLoad, METreformat, and METreadnc tests
Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
verify all tests pass, SonarQube gateway check may not reach threshold value
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [NA]
Do these changes include sufficient testing updates? [Yes]
Will this PR result in changes to the test suite? [Yes]
If yes, describe the new output and/or changes to the existing output:
Increased total coverage from 835 to 86%, additional test data and corresponding changes to test fixture code
Do these changes introduce new SonarQube findings? [Yes]
If yes, please describe:
possible failure for gateway quality criteria
Please complete this pull request review by [for RC1 release].
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s) and Development issue
Select: Milestone as the version that will include these changes
Select: Coordinated METplus-X.Y Support project for bugfix releases or METdataio-X.Y.Z Development project for official releases