Skip to content

fix: Increase timeout for UTP adapter tests#1199

Merged
simon-lemay-unity merged 3 commits intodevelopfrom
fix/utp-adapter-test-timeouts
Sep 17, 2021
Merged

fix: Increase timeout for UTP adapter tests#1199
simon-lemay-unity merged 3 commits intodevelopfrom
fix/utp-adapter-test-timeouts

Conversation

@simon-lemay-unity
Copy link
Copy Markdown
Contributor

It appears there can be important lag spikes in CI which can cause UTP adapter tests to fail sporadically. To avoid creating noise when merging unrelated changes, increase the maximum time we wait for network events in the adapter tests. If failures are still observed, we'll raise it again.

Eventually we'll implement a better way to handle these timeouts while also being able to identify performance regressions.

Was 150ms or 350ms depending on the platform. Now bumped to 500ms for
all platforms since there were occurences of tests timing out in CI.
Was 150ms or 350ms depending on the platform. Now bumped to 500ms for
all platforms since there were occurences of tests timing out in CI.
…nologies/com.unity.netcode.gameobjects into fix/utp-adapter-test-timeouts
@simon-lemay-unity simon-lemay-unity merged commit 268c7ec into develop Sep 17, 2021
@simon-lemay-unity simon-lemay-unity deleted the fix/utp-adapter-test-timeouts branch September 17, 2021 18:08
SamuelBellomo added a commit that referenced this pull request Sep 17, 2021
* develop:
  feat: INetworkMessage (#1187)
  fix: Increase timeout for UTP adapter tests (#1199)
  docs: Update repo and both package readme files (#1180)
  chore: updating UTP package to pull in DTLS fixes (#1197)
  fix: network time arguments (#1194)
  feat: network physics (#1175)

# Conflicts:
#	com.unity.netcode.gameobjects/Components/Interpolator/BufferedLinearInterpolator.cs
#	com.unity.netcode.gameobjects/Components/NetworkTransform.cs
#	testproject/Assets/Prefabs/PlayerCube.prefab
SamuelBellomo added a commit that referenced this pull request Sep 17, 2021
…transform-teleport

* sam/feature/client-network-transform:
  adding proper delta sending
  feat: INetworkMessage (#1187)
  fix: Increase timeout for UTP adapter tests (#1199)
  docs: Update repo and both package readme files (#1180)
  chore: updating UTP package to pull in DTLS fixes (#1197)
  fix: network time arguments (#1194)
  feat: network physics (#1175)

# Conflicts:
#	testproject/Assets/Scenes/ZooSam.unity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants