Skip to content

Commit

Permalink
Temp: Push debugging info out of integration_tests script
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgerring committed Dec 16, 2024
1 parent 6904b97 commit c78170f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions scripts/integration_tests.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c78170f

Please sign in to comment.