mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
travis: Fix various bugs in new queue worker test.
* Now queue_workers.py sorts queue names and prints them on their own line. Previously it's output was nondeterministic. * Simplified grep strategy for removing the "test" worker.
This commit is contained in:
@@ -22,5 +22,5 @@ if __name__ == "__main__":
|
||||
help="Specify which types of queues to list")
|
||||
args = parser.parse_args()
|
||||
|
||||
workers = get_active_worker_queues(args.queue_type)
|
||||
print(" ".join(workers))
|
||||
for worker in sorted(get_active_worker_queues(args.queue_type)):
|
||||
print(worker)
|
||||
|
||||
Reference in New Issue
Block a user