Skip to content

Commit 9f45e57

Browse files
committed
Increase timeout for test
1 parent 157f3a8 commit 9f45e57

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

prometheus/test.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
docker run --name prometheus -d -p 9090:9090 prometheus
2-
Start-Sleep -Seconds 10
3-
4-
docker logs prometheus
2+
Start-Sleep -Seconds 20
53

64
$req = Invoke-WebRequest http://$(docker inspect -f '{{ .NetworkSettings.Networks.nat.IPAddress }}' prometheus):9090/graph -UseBasicParsing
75
$code = $req.statuscode

0 commit comments

Comments
 (0)