Skip to content

Commit

Permalink
more integration test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
teutat3s committed Feb 3, 2020
1 parent bfccf2b commit ed1498f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions integration_tests/tests/test_telemetry/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ docker exec -it "$consul" assert ready
docker-compose up -d app

app="$(docker-compose ps -q app)"
IP=$(docker inspect -f '{{ .NetworkSettings.Networks.testtelemetry_default.IPAddress }}' "$app")
docker exec -it "$app" /bin/containerpilot -putmetric 'containerpilot_app_some_other_counter=42'
IP=$(docker inspect -f '{{ .NetworkSettings.Networks.test_telemetry_default.IPAddress }}' "$app")

# This interface takes a while to converge
for _ in $(seq 0 20); do
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/tests/test_version_flag/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

docker-compose run app
TEST_ID=$(docker ps -a | awk -F' +' '/testversionflag/{print $1}')
TEST_ID=$(docker ps -a | awk -F' +' '/test_version_flag/{print $1}')
docker logs "$TEST_ID" | grep dev-build-not-for-release
result=$?

Expand Down

0 comments on commit ed1498f

Please sign in to comment.