Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion quest/m1/test-flakes-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Public API: none. Wire: none.
- [Scoped WARN capture](/quest/m1/test-flakes-2/warn-capture.md) - the drop-unfinished tests count only their own WARNs
- [moq-mux debounce clock](/quest/m1/test-flakes-2/mux-debounce-clock.md) - the TS export debounce test advances on the paused clock
- [js/publish audio clock](/quest/m1/test-flakes-2/publish-audio-clock.md) - the audio encoder delay test runs on mock time
- [WebSocket paused TLS dial](/quest/m1/test-flakes-2/websocket-paused-tls.md) - the fixed-address WebSocket tests stop pausing the clock over a real dial
- [Rejoin after idle](/quest/m1/test-flakes-2/rejoin-idle-race.md) - an IETF rejoin never gets the stale warm cache first, because the copy goes idle before the cancel

## Related
Expand Down
14 changes: 0 additions & 14 deletions quest/m1/test-flakes-2/websocket-paused-tls.md

This file was deleted.

5 changes: 3 additions & 2 deletions rs/moq-tokio/src/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,6 @@ mod tests {

#[tokio::test]
async fn fixed_addresses_keep_tls_name_and_request_host() {
tokio::time::pause();
check_tls_authority("relay.example", true, None).await;
}

Expand All @@ -730,7 +729,6 @@ mod tests {

#[tokio::test]
async fn ipv6_literal_fixed_addresses() {
tokio::time::pause();
check_tls_authority("[::1]", true, None).await;
}

Expand All @@ -741,6 +739,9 @@ mod tests {

/// Dial `wss://{url_host}` on loopback, optionally pinned to fixed addresses, and
/// check the TLS name and HTTP `Host` the server sees.
///
/// Stays on the wall clock. A paused clock auto-advances while the real dial
/// waits, so a timer on this path can fire before loopback delivers.
async fn check_tls_authority(url_host: &str, fixed: bool, tls_name: Option<&str>) {
let ipv6 = url_host.starts_with('[');
let name = tls_name.unwrap_or(url_host.trim_start_matches('[').trim_end_matches(']'));
Expand Down
Loading