Skip to content

Commit 34841a1

Browse files
committed
Increase goss timeouts
1 parent 195bb7a commit 34841a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

goss.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,10 @@ command:
140140
/usr/local/bin/docker-low-disk-gc:
141141
exit-status: 0
142142

143+
# test that we can build a docker image
143144
docker buildx build -f tests/Dockerfile --progress=plain -t buildkite-postgres:latest tests:
144145
exit-status: 0
145-
timeout: 30000
146+
timeout: 60000
146147

147148
# Check docker userns is enabled
148149
# Note that goss will evaluate the outer layer of templating, and docker will evaluate the second
@@ -166,7 +167,7 @@ command:
166167
# Check that docker containers can run
167168
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock docker:latest version:
168169
exit-status: 0
169-
timeout: 30000
170+
timeout: 60000
170171

171172
# Check that userns allows writing as buildkite-agent
172173
sh -c 'docker run --rm -v "$PWD:/pwd" alpine:latest touch /pwd/test && stat -c %U:%G test' && rm test:

0 commit comments

Comments
 (0)