File tree Expand file tree Collapse file tree
com.unity.netcode.gameobjects/Tests/Runtime Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #if COM_UNITY_MODULES_PHYSICS || COM_UNITY_MODULES_PHYSICS2D
1+ #if COM_UNITY_MODULES_PHYSICS && COM_UNITY_MODULES_PHYSICS2D
22using System . Collections ;
33using System . Collections . Generic ;
44using NUnit . Framework ;
@@ -236,4 +236,4 @@ protected override IEnumerator OnTearDown()
236236 }
237237 }
238238}
239- #endif // COM_UNITY_MODULES_PHYSICS
239+ #endif // COM_UNITY_MODULES_PHYSICS && COM_UNITY_MODULES_PHYSICS2D
Original file line number Diff line number Diff line change @@ -429,7 +429,10 @@ public IEnumerator ServerDisconnectWithDataInQueue()
429429 }
430430
431431 // Check client disconnection with data in send queue.
432- [ UnityTest ]
432+ // Excluded on iOS: sending Unreliable data then immediately disconnecting is a race on slow
433+ // iOS CI devices (the unreliable packet can be dropped), so it flakes with a "Timed out while
434+ // waiting for network event" even after raising the mobile timeout. Tracked by MTT-15433.
435+ [ UnityTest , UnityPlatform ( exclude = new [ ] { RuntimePlatform . IPhonePlayer } ) ]
433436 public IEnumerator ClientDisconnectWithDataInQueue ( )
434437 {
435438 InitializeTransport ( out m_Server , out m_ServerEvents ) ;
You can’t perform that action at this time.
0 commit comments