test: make prerequisite lanes fail honestly
This commit is contained in:
parent
dfc841b779
commit
6faeb4a103
113 changed files with 424 additions and 336 deletions
|
|
@ -36,7 +36,7 @@ public class LiveHandshakeTests
|
|||
public void Live_LoginRequest_ReceivesConnectRequestFromServer()
|
||||
{
|
||||
if (Environment.GetEnvironmentVariable("ACDREAM_LIVE") != "1")
|
||||
return; // skipped — not a failure
|
||||
Assert.Fail("Lane=Live requires ACDREAM_LIVE=1 and a reachable configured server."); // skipped — not a failure
|
||||
|
||||
var host = Environment.GetEnvironmentVariable("ACDREAM_TEST_HOST") ?? "127.0.0.1";
|
||||
var portStr = Environment.GetEnvironmentVariable("ACDREAM_TEST_PORT") ?? "9000";
|
||||
|
|
@ -113,7 +113,7 @@ public class LiveHandshakeTests
|
|||
public void Live_FullThreeWayHandshake_ReachesConnectedState()
|
||||
{
|
||||
if (Environment.GetEnvironmentVariable("ACDREAM_LIVE") != "1")
|
||||
return;
|
||||
Assert.Fail("Lane=Live requires ACDREAM_LIVE=1 and a reachable configured server.");
|
||||
|
||||
var host = Environment.GetEnvironmentVariable("ACDREAM_TEST_HOST") ?? "127.0.0.1";
|
||||
var portStr = Environment.GetEnvironmentVariable("ACDREAM_TEST_PORT") ?? "9000";
|
||||
|
|
@ -263,7 +263,7 @@ public class LiveHandshakeTests
|
|||
public void Live_CharacterEnterWorld_ReceivesCreateObjectFlood()
|
||||
{
|
||||
if (Environment.GetEnvironmentVariable("ACDREAM_LIVE") != "1")
|
||||
return;
|
||||
Assert.Fail("Lane=Live requires ACDREAM_LIVE=1 and a reachable configured server.");
|
||||
|
||||
var host = Environment.GetEnvironmentVariable("ACDREAM_TEST_HOST") ?? "127.0.0.1";
|
||||
var portStr = Environment.GetEnvironmentVariable("ACDREAM_TEST_PORT") ?? "9000";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue