Skip to content

Commit a6c5f0d

Browse files
committed
Auto merge of #2061 - jtgeibel:ci/actions/increase-swirl-recv-timeout, r=jtgeibel
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 r? @carols10cents [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
2 parents e74de84 + 8e53d59 commit a6c5f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl TestAppBuilder {
233233
// We only have 1 connection in tests, so trying to run more than
234234
// 1 job concurrently will just block
235235
.thread_count(1)
236-
.job_start_timeout(Duration::from_secs(1))
236+
.job_start_timeout(Duration::from_secs(5))
237237
.build(),
238238
)
239239
} else {

0 commit comments

Comments
 (0)