You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Wait for the value to sync and assert that both server and client had OnValueChanged called an equal number of times
1209
+
Assert.True(WaitForConditionOrTimeOutWithTimeTravel(VerifyStructure),"Timed out waiting for client and server values to match");
1210
+
Assert.AreEqual(serverOnValueChangedCount,clientOnValueChangedCount,$"Expected OnValueChanged call count to be equal. Server OnValueChanged was called {serverOnValueChangedCount} times but client was called {clientOnValueChangedCount} times!");
// Wait for the value to sync and assert that the server had OnValueChanged called once more than the client
1217
+
TimeTravelAdvanceTick();
1218
+
Assert.True(WaitForConditionOrTimeOutWithTimeTravel(VerifyStructure),"Timed out waiting for client and server values to match");
1219
+
Assert.AreEqual(serverOnValueChangedCount-1,clientOnValueChangedCount,$"Unexpected OnValueChanged call count. Server OnValueChanged was called {serverOnValueChangedCount} times but client was called {clientOnValueChangedCount} times!");
0 commit comments