Skip to content
Discussion options

You must be logged in to vote

Hi, @todor-a. That warning is printed because your fixture calls worker.start() but never calls worker.stop(). Since the worker reference becomes a share state across tests through your fixture, you're ending up with the 2nd test attempting to start the worker that's already been started by the first.

I believe you should call worker.stop() in the cleanup phase of your fixture (like so). Let me know if that helps.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@todor-a
Comment options

@kettanaito
Comment options

Answer selected by kettanaito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants