• Andy Wilkinson's avatar
    Fix test failures on Windows · cffc870f
    Andy Wilkinson authored
    Since the move to JUnit 5, a number of tests were failing on Windows.
    The majority were failing due to open file handles preventing the
    clean up of the tests' temporary directory. This commit addresses
    these failures by updating the tests to close JarFiles, InputStreams,
    OutputStreams etc.
    
    A change has also been made to CachingOperationInvokerTests to make
    a flakey test more robust. Due to System.currentTimeMillis() being
    less precise on Windows than it is on *nix platforms, the test could
    fail as it would not sleep for long enough for the TTL period to have
    expired.
    cffc870f
Name
Last commit
Last update
..
main Loading commit data...
test/java/sample/parent Loading commit data...