|
132 | 132 |
|
133 | 133 | it "does not upgrade the new config" do
|
134 | 134 | t = Thread.new { subject.execute }
|
135 |
| -<<<<<<< HEAD |
136 |
| - sleep(0.01) until subject.with_pipelines {|pipelines| subject.running_pipelines? && pipelines.values.first.ready? } |
137 |
| - |
138 |
| -======= |
139 | 135 | Timeout.timeout(timeout) do
|
140 | 136 | sleep(0.01) until subject.running_pipelines? && subject.pipelines.values.first.ready?
|
141 | 137 | end
|
142 |
| ->>>>>>> a1c0e417e5... Support for inter-pipeline comms with a new pipeline input/output |
143 | 138 | expect(subject.converge_state_and_update).not_to be_a_successful_converge
|
144 | 139 | expect(subject).to have_running_pipeline?(mock_config_pipeline)
|
145 | 140 |
|
|
157 | 152 |
|
158 | 153 | it "does upgrade the new config" do
|
159 | 154 | t = Thread.new { subject.execute }
|
160 |
| -<<<<<<< HEAD |
161 |
| - sleep(0.01) until subject.with_pipelines {|pipelines| subject.pipelines_count > 0 && pipelines.values.first.ready? } |
162 |
| -======= |
163 | 155 | Timeout.timeout(timeout) do
|
164 | 156 | sleep(0.01) until subject.pipelines_count > 0 && subject.pipelines.values.first.ready?
|
165 | 157 | end
|
166 |
| ->>>>>>> a1c0e417e5... Support for inter-pipeline comms with a new pipeline input/output |
167 | 158 |
|
168 | 159 | expect(subject.converge_state_and_update).to be_a_successful_converge
|
169 | 160 | expect(subject).to have_running_pipeline?(mock_second_pipeline_config)
|
|
185 | 176 |
|
186 | 177 | it "does not try to reload the pipeline" do
|
187 | 178 | t = Thread.new { subject.execute }
|
188 |
| -<<<<<<< HEAD |
189 |
| - sleep(0.01) until subject.with_pipelines {|pipelines| subject.running_pipelines? && pipelines.values.first.running? } |
190 |
| - |
191 |
| -======= |
192 | 179 | Timeout.timeout(timeout) do
|
193 | 180 | sleep(0.01) until subject.running_pipelines? && subject.pipelines.values.first.running?
|
194 | 181 | end
|
195 |
| ->>>>>>> a1c0e417e5... Support for inter-pipeline comms with a new pipeline input/output |
196 | 182 | expect(subject.converge_state_and_update).not_to be_a_successful_converge
|
197 | 183 | expect(subject).to have_running_pipeline?(mock_config_pipeline)
|
198 | 184 |
|
|
210 | 196 |
|
211 | 197 | it "tries to reload the pipeline" do
|
212 | 198 | t = Thread.new { subject.execute }
|
213 |
| -<<<<<<< HEAD |
214 |
| - sleep(0.01) until subject.with_pipelines {|pipelines| subject.running_pipelines? && pipelines.values.first.running? } |
215 |
| -======= |
216 | 199 | Timeout.timeout(timeout) do
|
217 | 200 | sleep(0.01) until subject.running_pipelines? && subject.pipelines.values.first.running?
|
218 | 201 | end
|
219 |
| ->>>>>>> a1c0e417e5... Support for inter-pipeline comms with a new pipeline input/output |
220 | 202 |
|
221 | 203 | expect(subject.converge_state_and_update).to be_a_successful_converge
|
222 | 204 | expect(subject).to have_running_pipeline?(mock_second_pipeline_config)
|
|
0 commit comments