Skip to content

NetworkPlayIntegrationTest fails when building locally #10488

@Agetian

Description

@Agetian

When building Forge on my PC, the new test in NetworkPlayIntegrationTest fails with the error:

[ERROR] Failures:
[ERROR] NetworkPlayIntegrationTest.testTrueNetworkTraffic:129 Game should have started: GameResult[2-player network, format=Constructed, success=false, started=false, completed=false, players=2, remoteClients=1, turns=0, winner=null, deltas=0, bytes=0, error=Address already in use] expected [true] but found [false]
[INFO]
[ERROR] Tests run: 271, Failures: 1, Errors: 0, Skipped: 6

Basically, it's trying to start a net game but fails because the address/port it's trying to use is somehow detected to already be in use (though it actually isn't, I'm not listening to anything on port 50000 or otherwise).

The only way for me to build Forge is by completely removing NetworkPlayIntegrationTest temporarily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions