We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c880ac5 commit b426140Copy full SHA for b426140
tests/00-http-docker-swarm/test
@@ -81,9 +81,14 @@ quit() {
81
log "Exiting with code $code"
82
}
83
84
+term() {
85
+ exit 254
86
+}
87
+
88
# Standard setup
89
-trap quit TERM INT EXIT
90
+trap quit EXIT
91
+trap term TERM INT QUIT
92
93
h=$(hostname)
94
@@ -165,7 +170,7 @@ do
165
170
replicas=$(docker exec ${NODE}1 docker service ls --format='{{ .Replicas }}' --filter='Name=http')
166
171
log "Waiting for remainder of $replicas replicas to launch (#$i) ..."
167
172
[ "$replicas" = "$NODES/$NODES" ] && break
168
- [ $i -eq 1 ] && exit 130
173
+ [ $i -eq 1 ] && exit 253
169
174
sleep 1
175
done
176
log "All $NODES replicas launched."
0 commit comments