(self, manager)
| 183 | |
| 184 | @flaky |
| 185 | def test_complex_chain(self, manager): |
| 186 | g = group(add.s(i) for i in range(4)) |
| 187 | c = ( |
| 188 | add.s(2, 2) | ( |
| 189 | add.s(4) | add_replaced.s(8) | add.s(16) | add.s(32) |
| 190 | ) | g |
| 191 | ) |
| 192 | res = c() |
| 193 | assert res.get(timeout=TIMEOUT) == [64, 65, 66, 67] |
| 194 | |
| 195 | @pytest.mark.xfail(raises=TimeoutError, reason=class="st">"Task is timeout") |
| 196 | def test_group_results_in_chain(self, manager): |