Skip to content

Commit 9b67dd7

Browse files
test
Increasing disconnect timeout period to account for a system running slower than expected.
1 parent b7c08c5 commit 9b67dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/Transports/UnityTransportConnectionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public IEnumerator ClientDisconnectMultipleClients()
214214
VerboseLog($"Disconnecting Client-1");
215215
m_Clients[0].DisconnectLocalClient();
216216

217-
yield return WaitForNetworkEvent(NetworkEvent.Disconnect, m_ServerEvents, 1);
217+
yield return WaitForNetworkEvent(NetworkEvent.Disconnect, m_ServerEvents, 5);
218218

219219
// Disconnect all the other clients.
220220
for (int i = 1; i < k_NumClients; i++)

0 commit comments

Comments
 (0)