open-telemetry / opentelemetry-rust

The Rust OpenTelemetry implementation
https://opentelemetry.io
Apache License 2.0
1.71k stars 384 forks source link

Find a way to run tests that require test-thread=1 #1823

Open cijothomas opened 1 month ago

cijothomas commented 1 month ago

These tests were not running since the rename of packages last year. Need to run them again in CI.

https://github.com/open-telemetry/opentelemetry-rust/pull/1822/files#diff-52afcc694c0ff8ff253441f42ff44d6b4734fe30ae9070f2ba07a668a10e7baaR14

cijothomas commented 1 month ago

test trace::runtime_tests::test_set_provider_multiple_thread_tokio ... ignored, requires --test-threads=1 test trace::runtime_tests::test_set_provider_multiple_thread_tokio_shutdown ... ignored, requires --test-threads=1 test trace::runtime_tests::test_set_provider_single_thread_tokio ... ignored, requires --test-threads=1 test trace::runtime_tests::test_set_provider_single_thread_tokio_shutdown ... ignored, requires --test-threads=1 test trace::runtime_tests::test_set_provider_single_thread_tokio_with_simple_processor ... ignored, requires --test-threads=1

These tests do not exist for logs, metrics. It probably makes sense to add them for metrics.