Skip to content

Data tracks: end-to-end tests - #995

Open
ladvoc wants to merge 2 commits into
ladvoc/data-track-e2eefrom
ladvoc/data-track-e2e-test
Open

ladvoc wants to merge 2 commits into
ladvoc/data-track-e2eefrom
ladvoc/data-track-e2e-test

Conversation

@ladvoc

@ladvoc ladvoc commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Closes BOT-541

@ladvoc
ladvoc force-pushed the ladvoc/data-track-e2e-test branch from c397f06 to 4f4ffd0 Compare September 4, 2026 16:04
@ladvoc
ladvoc force-pushed the ladvoc/data-track-e2e-test branch from 4f4ffd0 to 576a193 Compare September 4, 2026 22:57
@ladvoc
ladvoc force-pushed the ladvoc/data-track-e2e-test branch 3 times, most recently from ad96dc6 to 564afc2 Compare September 14, 2026 22:27
@ladvoc
ladvoc force-pushed the ladvoc/data-track-e2e-test branch from 564afc2 to 254d407 Compare September 22, 2026 16:46
@ladvoc
ladvoc force-pushed the ladvoc/data-track-e2e-test branch from 254d407 to a8f7eda Compare September 22, 2026 20:53
@ladvoc
ladvoc force-pushed the ladvoc/data-track-e2e-test branch from a8f7eda to 05fc6e8 Compare September 22, 2026 22:20
@ladvoc ladvoc changed the title Data track end-to-end tests Data tracks: end-to-end tests Sep 22, 2026
@ladvoc
ladvoc force-pushed the ladvoc/data-track-e2e-test branch from 05fc6e8 to ae2a837 Compare September 22, 2026 23:41
@ladvoc
ladvoc marked this pull request as ready for review September 23, 2026 18:50
@ladvoc
ladvoc requested a review from a team as a code owner September 23, 2026 18:50

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔍 Devin Review: 3 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

rooms = append(rooms, testRoom{room: room, published: published})
}

// Wait for participant visibility across all room connections. When using a local SFU, this

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.

why does local SFU take longer?

require.Len(t, frame.Payload, tc.payloadLen)
require.Equal(t, bytes.Repeat([]byte{payloadValue}, tc.payloadLen), frame.Payload)
require.Nil(t, frame.UserTimestamp)
require.True(t, remoteTrack.IsPublished())

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.

Not sure what this checks, but there one call before the Subscribe too. Is this checking something different?

initialSID := track.Info().SID

pubRoom.room.Simulate(tc.scenario)
require.True(t, track.IsPublished(), "Should still be reported as published")

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.

all lower case, may be in other places too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants