From 17dfb71b072518ad826cedba7f17853141f5b5df Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Thu, 22 Apr 2021 22:43:59 +0200 Subject: [PATCH] Bump default integration test message timeout to 30s --- tests/support/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/support/mod.rs b/tests/support/mod.rs index 1c661f3e8bf..6064100d324 100644 --- a/tests/support/mod.rs +++ b/tests/support/mod.rs @@ -25,7 +25,7 @@ pub fn fixtures_dir() -> &'static Path { /// /// Env var `RLS_TEST_WAIT_FOR_AGES` allows super long waiting for CI pub fn rls_timeout() -> Duration { - Duration::from_secs(if std::env::var("RLS_TEST_WAIT_FOR_AGES").is_ok() { 300 } else { 15 }) + Duration::from_secs(if std::env::var("RLS_TEST_WAIT_FOR_AGES").is_ok() { 300 } else { 30 }) } /// Parse valid LSP stdout into a list of json messages