|
|
@ -21,16 +21,12 @@ def main():
|
|
|
|
queues = ('default', 'high', 'low')
|
|
|
|
queues = ('default', 'high', 'low')
|
|
|
|
|
|
|
|
|
|
|
|
sample_calls = [
|
|
|
|
sample_calls = [
|
|
|
|
(dummy.do_nothing, [], {}),
|
|
|
|
|
|
|
|
(dummy.do_nothing, [], {}),
|
|
|
|
|
|
|
|
(dummy.do_nothing, [], {}),
|
|
|
|
|
|
|
|
(dummy.do_nothing, [], {}),
|
|
|
|
|
|
|
|
(dummy.do_nothing, [], {}),
|
|
|
|
(dummy.do_nothing, [], {}),
|
|
|
|
(dummy.sleep, [1], {}),
|
|
|
|
(dummy.sleep, [1], {}),
|
|
|
|
(dummy.fib, [8], {}), # normal result
|
|
|
|
(dummy.fib, [8], {}), # normal result
|
|
|
|
(dummy.fib, [24], {}), # takes pretty long
|
|
|
|
(dummy.fib, [24], {}), # takes pretty long
|
|
|
|
(dummy.div_by_zero, [], {}), # 5 / 0 => div by zero exc
|
|
|
|
(dummy.div_by_zero, [], {}), # 5 / 0 => div by zero exc
|
|
|
|
(dummy.fib, [30], {}), # takes long, then crashes
|
|
|
|
(dummy.random_failure, [], {}), # simulate random failure (handy for requeue testing)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
for i in range(opts.count):
|
|
|
|
for i in range(opts.count):
|
|
|
|