Print docker container logs in webapp test. #649
@ -30,14 +30,14 @@ set +e
|
||||
|
||||
CONTAINER_ID=$(docker run -p 3000:3000 -d cerc/test-progressive-web-app:local)
|
||||
sleep 3
|
||||
wget -t 5 -O test.before -m http://localhost:3000
|
||||
wget -t 60 -O test.before -m http://localhost:3000
|
||||
|
||||
docker logs $CONTAINER_ID
|
||||
docker remove -f $CONTAINER_ID
|
||||
|
||||
CONTAINER_ID=$(docker run -p 3000:3000 -e CERC_WEBAPP_DEBUG=$CHECK -d cerc/test-progressive-web-app:local)
|
||||
sleep 3
|
||||
wget -t 5 -O test.after -m http://localhost:3000
|
||||
wget -t 60 -O test.after -m http://localhost:3000
|
||||
|
||||
docker logs $CONTAINER_ID
|
||||
docker remove -f $CONTAINER_ID
|
||||
|
Loading…
Reference in New Issue
Block a user