Skip to content

Commit

Permalink
Loop forever
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart committed Jan 16, 2024
1 parent edebdae commit a955911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/rust/s2n-tls-tokio/tests/shutdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ async fn shutdown_after_halfclose_split() -> Result<(), Box<dyn std::error::Erro

#[tokio::test(start_paused = true)]
async fn shutdown_with_blinding() -> Result<(), Box<dyn std::error::Error>> {
loop {
let clock = common::TokioTime::default();
let mut server_config = common::server_config()?;
server_config.set_monotonic_clock(clock)?;
Expand Down Expand Up @@ -185,8 +186,7 @@ async fn shutdown_with_blinding() -> Result<(), Box<dyn std::error::Error>> {
time::timeout(common::MAX_BLINDING_SECS, read_until_shutdown(&mut client)),
);
assert!(timeout.is_ok());

Ok(())
}
}

#[tokio::test(start_paused = true)]
Expand Down

0 comments on commit a955911

Please sign in to comment.