Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Bump default integration test message timeout to 30s #1731

Merged
merged 1 commit into from
Apr 22, 2021
Merged
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
2 changes: 1 addition & 1 deletion tests/support/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down