From c78170f53ccc96252ff202aa78be07ea149b4e5c Mon Sep 17 00:00:00 2001 From: Scott Gerring Date: Mon, 16 Dec 2024 19:22:22 +0100 Subject: [PATCH] Temp: Push debugging info out of integration_tests script --- scripts/integration_tests.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/scripts/integration_tests.sh b/scripts/integration_tests.sh index 07b9d472ba..54eb31c3b5 100755 --- a/scripts/integration_tests.sh +++ b/scripts/integration_tests.sh @@ -1,19 +1,25 @@ set -e + TEST_DIR="./opentelemetry-otlp/tests/integration_test/tests" if [ -d "$TEST_DIR" ]; then cd "$TEST_DIR" + + # Debug + cargo tree + cat /home/runner/work/opentelemetry-rust/opentelemetry-rust/opentelemetry-sdk/src/resource/mod.rs + # Run tests with the grpc-tonic feature - cargo test --no-default-features --features "tonic-client" -- --ignored + cargo test --no-default-features --features "tonic-client" # Run tests with the reqwest-client feature - cargo test --no-default-features --features "reqwest-client" -- --ignored + cargo test --no-default-features --features "reqwest-client" # TODO - Uncomment the following lines once the reqwest-blocking-client feature is working. - # cargo test --no-default-features --features "reqwest-blocking-client" -- --ignored + # cargo test --no-default-features --features "reqwest-blocking-client" # Run tests with the hyper-client feature - cargo test --no-default-features --features "hyper-client" -- --ignored + cargo test --no-default-features --features "hyper-client" else echo "Directory $TEST_DIR does not exist. Skipping tests." exit 1