summaryrefslogtreecommitdiff
path: root/test_util
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-11-27 18:12:17 -0500
committerGitHub <noreply@github.com>2023-11-27 23:12:17 +0000
commit3e83d686a805aa11cb05f665b0d9ed8f95a784cd (patch)
treeaa4b9c5f94a88c50927a3089c6ed712366a7f4ce /test_util
parent5ab7c702bb5d83c294f0e68fe751e3ee6283e0a7 (diff)
ci: make upgrade_lsp_repl_sleeps less flaky (#21363)
Makes this test less flaky by allowing way more time for the test to occur in.
Diffstat (limited to 'test_util')
-rw-r--r--test_util/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs
index 0f402fb52..8e5742636 100644
--- a/test_util/src/lib.rs
+++ b/test_util/src/lib.rs
@@ -1274,7 +1274,7 @@ async fn main_server(
)
}
(&hyper::Method::GET, "/upgrade/sleep/release-latest.txt") => {
- tokio::time::sleep(Duration::from_secs(45)).await;
+ tokio::time::sleep(Duration::from_secs(95)).await;
return Ok(
Response::builder()
.status(StatusCode::OK)
@@ -1283,7 +1283,7 @@ async fn main_server(
);
}
(&hyper::Method::GET, "/upgrade/sleep/canary-latest.txt") => {
- tokio::time::sleep(Duration::from_secs(45)).await;
+ tokio::time::sleep(Duration::from_secs(95)).await;
return Ok(
Response::builder()
.status(StatusCode::OK)