I think this test should add the maximum number of output (not enqueue) actions that will fit in a message: floor((65535-72)/8) = 8182. That may or may not fail - use a fairly short timeout like 0.5s when polling for it.