@@ -136,11 +136,11 @@ class CliAppTest < CliTestCase
136
136
. returns ( "running" ) . at_least_once # workers health check
137
137
138
138
run_command ( "boot" , config : :with_roles , host : nil ) . tap do |output |
139
- assert_match "Waiting for a healthy web container ( 1.1.1.3) ..." , output
140
- assert_match "Waiting for a healthy web container ( 1.1.1.4) ..." , output
141
- assert_match "First web container is healthy, continuing ( 1.1.1.3) " , output
142
- assert_match "First web container is healthy, continuing ( 1.1.1.4) " , output
143
- end
139
+ assert_match "Waiting for the first healthy web container before booting workers on 1.1.1.3..." , output
140
+ assert_match "Waiting for the first healthy web container before booting workers on 1.1.1.4..." , output
141
+ assert_match "First web container is healthy, booting workers on 1.1.1.3" , output
142
+ assert_match "First web container is healthy, booting workers on 1.1.1.4" , output
143
+ end
144
144
end
145
145
146
146
test "boot with web barrier closed" do
@@ -156,14 +156,12 @@ class CliAppTest < CliTestCase
156
156
157
157
stderred do
158
158
run_command ( "boot" , config : :with_roles , host : nil , allow_execute_error : true ) . tap do |output |
159
- assert_match "Waiting for a healthy web container ( 1.1.1.3) ..." , output
160
- assert_match "Waiting for a healthy web container ( 1.1.1.4) ..." , output
161
- assert_match "First web container is unhealthy, stopping ( 1.1.1.3) " , output
162
- assert_match "First web container is unhealthy, stopping ( 1.1.1.4) " , output
159
+ assert_match "Waiting for the first healthy web container before booting workers on 1.1.1.3..." , output
160
+ assert_match "Waiting for the first healthy web container before booting workers on 1.1.1.4..." , output
161
+ assert_match "First web container is unhealthy, not booting workers on 1.1.1.3" , output
162
+ assert_match "First web container is unhealthy, not booting workers on 1.1.1.4" , output
163
163
assert_match "Running docker container ls --all --filter name=^app-web-latest$ --quiet | xargs docker stop on 1.1.1.1" , output
164
164
assert_match "Running docker container ls --all --filter name=^app-web-latest$ --quiet | xargs docker stop on 1.1.1.2" , output
165
- assert_match "Running docker container ls --all --filter name=^app-workers-latest$ --quiet | xargs docker stop on 1.1.1.3" , output
166
- assert_match "Running docker container ls --all --filter name=^app-workers-latest$ --quiet | xargs docker stop on 1.1.1.4" , output
167
165
end
168
166
end
169
167
ensure
0 commit comments