Git Product home page Git Product logo

Comments (3)

ChrisJohnNOAA avatar ChrisJohnNOAA commented on June 11, 2024 1

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).

from erddap.

ChrisJohnNOAA avatar ChrisJohnNOAA commented on June 11, 2024 1

I believe this has been fixed with the merge of #142

from erddap.

jcermauwedu avatar jcermauwedu commented on June 11, 2024

Somehow the MD5 and SHA256 hashes changed on the file or the new hashes were incorrect when updated.
app/target/classes/com/cohort/util/LICENSE.txt

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:

root@e03e51ee62d1:/app# md5sum target/classes/com/cohort/util/LICENSE.txt
327fbb2aa6c6297d4fdd5fdf4b14e289  target/classes/com/cohort/util/LICENSE.txt
root@e03e51ee62d1:/app# sha256sum target/classes/com/cohort/util/LICENSE.txt
e376c88953b2d56b00783fed071f1875e8ed94230f4e14eee5bce8bd608de5e6  target/classes/com/cohort/util/LICENSE.txt

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:

# mvn -f pom.xml package

No other tests fail for me.

from erddap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.