-
Notifications
You must be signed in to change notification settings - Fork 60
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
Failing test cases through maven #140
Comments
Somehow the MD5 and SHA256 hashes changed on the file or the new hashes were incorrect when updated. I don't see it being updated in the history log for LICENSE.txt. For HashDigestTests.java, there was a note indicating that the tests were moved around and that the hashing algorithm had changed. See: 7bab64c Using an interactive development docker container:
I get the same hash for MD5 as @ayushsingh01042003 as seen above. If you fix the MD5 hash, the SHA256 will fail next. Once the hashes are updated, I get a build success using:
No other tests fail for me. |
I wonder if the license.txt hash issue is related to git behavior on different systems (it can convert line endings on checkout and on commit automatically to make files match what is expected by your OS). This would lead to Linux machines potentially having a different hash for a txt file than a Windows system. For the NcHelperTests.testUnlimited error, that seems to be a hardcoded path I missed updating previously. I'm fixing that as part of my next update to the maven tests. For TableTests.testReadOpendapSequenceSpeed, there's no real error there. There probably should not be asserts for time taken because what's good on one machine may be slow on another. Additionally, with the change to using JUnit for testing (instead of the old approach), tests can now be run in parallel. The time based asserts were often set assuming there were no other significant stresses on the system (like other tests). |
I believe this has been fixed with the merge of #142 |
We have 3 errors on running the test cases through maven.
To Reproduce
Steps to reproduce the behavior:
mvn compile
mvn package
in webapps/erddapThis should result in the following error message
The text was updated successfully, but these errors were encountered: