Skip to content

Fix intermittently failing E2E reliability test #718

Merged
ladvoc merged 8 commits into
mainfrom
ladvoc/fix-e2e-test
Sep 25, 2025
Merged

Fix intermittently failing E2E reliability test #718
ladvoc merged 8 commits into
mainfrom
ladvoc/fix-e2e-test

Conversation

@ladvoc

@ladvoc ladvoc commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

When testing with a local SFU, it takes significantly longer to receive the first participant update (0.9s on average compared to 0.000003s on cloud). As a result, some user packets received during the E2E reliability test will not be emitted since they cannot be associated with a remote participant, leading to test failure. To address this, the test_rooms utility now waits for participant visibility across all room connections before resolving.

Other minor changes:

  • New tests to verify basic room connection.
  • Tests now use the test-log crate to bootstrap logging during test execution.

@ladvoc
ladvoc requested a review from cloudwebrtc September 25, 2025 06:25
@ladvoc
ladvoc marked this pull request as ready for review September 25, 2025 06:25

@cloudwebrtc cloudwebrtc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ladvoc
ladvoc merged commit 70141f4 into main Sep 25, 2025
20 checks passed
@ladvoc
ladvoc deleted the ladvoc/fix-e2e-test branch September 25, 2025 08:10
@github-actions github-actions Bot mentioned this pull request Sep 25, 2025
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