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

Commit

Permalink
Auto merge of #1731 - Xanewok:bump-timeout, r=ehuss
Browse files Browse the repository at this point in the history
Bump default integration test message timeout to 30s

In case we don't want to introduce another env var to rustc CI script

cc rust-lang/rust#84412

r? `@ehuss`
  • Loading branch information
bors committed Apr 22, 2021
2 parents d1376b5 + 17dfb71 commit 74d1800
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 74d1800

Please sign in to comment.