From 8e53d59043ded34f347af2da6e5e7828d7c4ea3b Mon Sep 17 00:00:00 2001 From: Justin Geibel Date: Mon, 23 Dec 2019 20:43:40 -0500 Subject: [PATCH] Increase background job timeout for tests The intermittent errors on GH Actions appear to be coming from two places ([1], [2]) related to running background jobs. It's possible we're hitting the 1 second [timeout] and that the background job is not completing in time. Refs: #2059 [1]: https://github.com/rust-lang/crates.io/blob/e74de84f3d69dd623a83dfc0d8b43191e064104d/src/tests/util.rs#L76 [2]: https://github.com/rust-lang/crates.io/blob/e74de84f3d69dd623a83dfc0d8b43191e064104d/src/tests/util.rs#L190 [timeout]: https://github.com/rust-lang/crates.io/blob/e74de84f3d69dd623a83dfc0d8b43191e064104d/src/tests/util.rs#L236 --- src/tests/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/util.rs b/src/tests/util.rs index 76b2e8b180b..0e6eb1bc6ea 100644 --- a/src/tests/util.rs +++ b/src/tests/util.rs @@ -233,7 +233,7 @@ impl TestAppBuilder { // We only have 1 connection in tests, so trying to run more than // 1 job concurrently will just block .thread_count(1) - .job_start_timeout(Duration::from_secs(1)) + .job_start_timeout(Duration::from_secs(5)) .build(), ) } else {