Skip to content

Commit 6e8a30b

Browse files
author
Nathan Marz
committed
make check-consistency in nimbus_test stronger by checking that assigned tasks are identical to topology tasks
1 parent 5ba4162 commit 6e8a30b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/clj/backtype/storm/nimbus_test.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
assigned-task-ids (mapcat executor-id->tasks (keys executor->node+port))
7272
all-nodes (set (map first (vals executor->node+port)))]
7373
(when assigned?
74-
(is (= (set task-ids) (set assigned-task-ids)))
74+
(is (= (sort task-ids) (sort assigned-task-ids)))
7575
(doseq [t task-ids]
7676
(is (not-nil? (task->node+port t)))))
7777
(doseq [[e s] executor->node+port]

0 commit comments

Comments
 (0)