[TR-555] Unit tests for 5.1 still do not pass on Windows Created: 14/Jan/19  Updated: 14/Jan/19

Status: Open
Project: Terrier Core
Component/s: tests
Affects Version/s: 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Richard McCreadie Assignee: Craig Macdonald
Resolution: Unresolved  
Labels: None

itWorksBlocksFeatures still fails tests on windows 10 under both CMD and Powershell. Looks as if the server is not shutting down correctly from the previous test.

Tests run: 466, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 191.025 sec <<< FAILURE! - in main.TerrierDefaultTestSuite
itWorksBlocksFeatures(org.terrier.rest.TestClientAndServer) Time elapsed: 0.651 sec <<< ERROR!
java.lang.RuntimeException: Could not access
        at org.terrier.rest.TestClientAndServer.itWorksBlocksFeatures(TestClientAndServer.java:76)
Caused by: java.io.IOException: Could not contact REST server at : 500
        at org.terrier.rest.TestClientAndServer.itWorksBlocksFeatures(TestClientAndServer.java:76)

Results :

Tests in error:
  TestClientAndServer.itWorksBlocksFeatures:76 » Runtime Could not access http:/...

Tests run: 517, Failures: 0, Errors: 1, Skipped: 2

Comment by Richard McCreadie [ 14/Jan/19 ]

Appears to be a local address lookup issue.

Error appears inconsistent, sometimes disconnecting from the internet fixes the issue. Other times not.

Generated at Sun Jan 17 00:10:55 GMT 2021 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.