Skip to content

Navigation Menu

Sign in
Sign up

test(pair-relay): drop self-declared duplicate test_cancellation_immediate #7403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rebekz wants to merge 1 commit into block:main
base: main
Choose a base branch
Loading
from kafi-labs:upstream-fix/drop-duplicate-timeout-test
Open
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
14 changes: 0 additions & 14 deletions crates/buzz-pair-relay/tests/integration.rs
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -1176,20 +1176,6 @@ async fn test_reader_backpressure_closes() {
}
}

/// 42. Connection closes promptly after 120 s (virtual time).
/// Explicit duplicate of test 9 with a slightly different assertion style.
#[tokio::test(start_paused = true)]
async fn test_cancellation_immediate() {
let url = start_relay().await;
let mut ws = connect(&url).await;

tokio::time::advance(Duration::from_secs(121)).await;
tokio::task::yield_now().await;

// The connection must be closed — not just slow.
assert_closed(&mut ws).await;
}

/// 43. Client-initiated graceful close receives a Close reply.
/// Explicit duplicate of test 34 with a different connection state.
#[tokio::test]
Expand Down

AltStyle によって変換されたページ (->オリジナル) /