Skip to content

Commit b08c482

Browse files
committed
actually use the hosted service
1 parent 76fdbf1 commit b08c482

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/DistributedAuthority/DistributedAuthorityConnectionTest.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ public DistributedAuthorityConnectionTest() : base(HostOrServer.DAHost) { }
2121

2222
private GameObject m_SpawnObject;
2323

24+
protected override bool UseCMBService()
25+
{
26+
return true;
27+
}
28+
29+
2430
/// <summary>
2531
/// Modify NetworkManager instances for settings specific to tests
2632
/// </summary>
@@ -33,7 +39,6 @@ protected override void OnServerAndClientsCreated()
3339
// Validate we are in distributed authority mode with client side spawning and using CMB Service
3440
Assert.True(client.NetworkConfig.NetworkTopology == NetworkTopologyTypes.DistributedAuthority, "Distributed authority topology is not set!");
3541
Assert.True(client.CMBServiceConnection, "CMBServiceConnection is not set!");
36-
3742
}
3843

3944
// Create a prefab for creating and destroying tests (auto-registers with NetworkManagers)

0 commit comments

Comments
 (0)