From f69f2dffa99b2b864b2ce7add8b643210da7657d Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 10 Jun 2014 14:40:37 -0500 Subject: [PATCH] Automatically watch 'multi' tube if tube_name Signed-off-by: Zack Cerza --- teuthology/beanstalk.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teuthology/beanstalk.py b/teuthology/beanstalk.py index 7eee0c1adf..1c2b60ccc7 100644 --- a/teuthology/beanstalk.py +++ b/teuthology/beanstalk.py @@ -21,6 +21,9 @@ def connect(): def watch_tube(connection, tube_name): + if ',' in tube_name: + log.debug("Correcting tube name to 'multi'") + tube_name = 'multi' connection.watch(tube_name) connection.ignore('default') -- 2.39.5