Simplify test

pull/2/head
Stefan Scherer 7 years ago
parent b9856f2ef2
commit ea704ed520
No known key found for this signature in database
GPG Key ID: 5966AEAC37E957FA

@ -7,9 +7,9 @@ docker rm -f whoamitest
$ErrorActionPreference = 'Stop';
Write-Host Starting container
docker run --name whoamitest -p 8080:8080 -d whoami
Start-Sleep 15
Write-Host Testing from another container
docker run --rm microsoft/nanoserver powershell -command invoke-webrequest -usebasicparsing http://whoamitest:8080
Start-Sleep 10
docker logs whoamitest
$ErrorActionPreference = 'SilentlyContinue';
docker kill whoamitest

Loading…
Cancel
Save