Skip to content
This repository was archived by the owner on May 9, 2022. It is now read-only.

Commit 40cd09e

Browse files
committed
docs(README): remove outdated test concurrency workaround
1 parent 733dfe0 commit 40cd09e

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,3 @@ Helper script:
2828
```shell
2929
./runtests.sh
3030
```
31-
32-
Currently, some tests with static mocks can intermittently fail due to test thread concurrency.
33-
(For example, see test `rtc_enclave::tests::dcap_azure_attestation_works`.)
34-
35-
To avoid this, run:
36-
37-
```shell
38-
cargo test -- --test-threads=1
39-
```
40-
41-
or set:
42-
43-
```shell
44-
export RUST_TEST_THREADS=1
45-
```
46-
47-
TODO(Pi): We should probably configure single-threading by default in affected crates
48-
once `cargo test` implements this:
49-
50-
* [Enable specifying --test-threads in Cargo.toml #8430](https://github.com/rust-lang/cargo/issues/8430)

0 commit comments

Comments
 (0)