MCPcopy
hub / github.com/celery/celery / test_ready_with_exception

Method test_ready_with_exception

t/integration/test_canvas.py:1180–1187  ·  view source on GitHub ↗
(self, manager)

Source from the content-addressed store, hash-verified

1178class test_group:
1179 @flaky
1180 def test_ready_with_exception(self, manager):
1181 if not manager.app.conf.result_backend.startswith('redis'):
1182 raise pytest.skip('Requires redis result backend.')
1183
1184 g = group([add.s(1, 2), raise_error.s()])
1185 result = g.apply_async()
1186 while not result.ready():
1187 pass
1188
1189 @flaky
1190 def test_empty_group_result(self, manager):

Callers

nothing calls this directly

Calls 4

groupClass · 0.90
sMethod · 0.45
apply_asyncMethod · 0.45
readyMethod · 0.45

Tested by

no test coverage detected