Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Jan 3, 2016
1 parent e526b8f commit b7555db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion huey/tests/test_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ def test_threaded_execution(self):
time.sleep(.05)

consumer.stop()
consumer.wait_finished()
for worker in consumer.worker_threads:
worker.join()
#consumer.wait_finished()

self.assertEqual(state, {'k1': 'v1', 'k2': 'v2', 'k3': 'v3'})

Expand Down

0 comments on commit b7555db

Please sign in to comment.