MCPcopy
hub / github.com/celery/celery / test_nested_group

Method test_nested_group

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

Source from the content-addressed store, hash-verified

1220
1221 @flaky
1222 def test_nested_group(self, manager):
1223 assert_ping(manager)
1224
1225 c = group(
1226 add.si(1, 10),
1227 group(
1228 add.si(1, 100),
1229 group(
1230 add.si(1, 1000),
1231 add.si(1, 2000),
1232 ),
1233 ),
1234 )
1235 res = c()
1236
1237 assert res.get(timeout=TIMEOUT) == [11, 101, 1001, 2001]
1238
1239 @flaky
1240 def test_large_group(self, manager):

Callers

nothing calls this directly

Calls 4

groupClass · 0.90
assert_pingFunction · 0.85
siMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected