Skip to content

Commit

Permalink
test: turn off multiplexing for cargo on cucumber (#3533)
Browse files Browse the repository at this point in the history
Description
---

Turn off [http multiplexing](https://doc.rust-lang.org/cargo/reference/config.html#httpmultiplexing) for cargo on the integration tests. 

Trying to resolve spurious network errors 

```
warning: spurious network error (1 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 201 was not closed cleanly before end of the underlying stream)
error: failed to download from `https://crates.io/api/v1/crates/rsa/0.3.0/download`

Caused by:
  [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 203 was not closed cleanly before end of the underlying stream)
``` 

Reference: rust-lang/cargo#6513 (comment)
  • Loading branch information
Byron Hambly authored Nov 4, 2021
1 parent b42058a commit 800686e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ jobs:
docker:
- image: *rust_image
resource_class: medium
environment:
CARGO_HTTP_MULTIPLEXING: false
steps:
- checkout
- cucumber-js
Expand Down

0 comments on commit 800686e

Please sign in to comment.