Skip to content

Commit abc23c1

Browse files
authored
Run opentelemetry-jaeger tests consecutively (#1384)
Limit threads to 1 (to force tests to run consecutively) to temporarily fix random [failures](https://github.com/open-telemetry/opentelemetry-rust/actions/runs/6915742069/job/18815025248) during `opentelemetry-jaeger` tests, due to environment variable updates from parallel tests If you run this command line multiple times, you should be able to reproduce it (`test_resolve_timeout` and `test_resolve_endpoint` are updating some environment variables) ```shell cargo test --manifest-path=opentelemetry-jaeger/Cargo.toml --all-features collector -- --test-threads=5 ```
1 parent 9e2e3db commit abc23c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ cargo test --manifest-path=opentelemetry/Cargo.toml --no-default-features
1111
cargo test --manifest-path=opentelemetry/Cargo.toml --all-features -- --ignored --test-threads=1
1212

1313
cargo test --manifest-path=opentelemetry/Cargo.toml --all-features
14-
cargo test --manifest-path=opentelemetry-jaeger/Cargo.toml --all-features
14+
cargo test --manifest-path=opentelemetry-jaeger/Cargo.toml --all-features -- --test-threads=1
1515
cargo test --manifest-path=opentelemetry-otlp/Cargo.toml --features "trace,grpc-sys" --no-default-features
1616
cargo test --manifest-path=opentelemetry-zipkin/Cargo.toml --all-features

0 commit comments

Comments
 (0)