-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix aiohttp ThreadedProducer driver python36, add unit tests (#277)
* fix: rewrite non enabled unit tests * chore: add tests for aiokafka threadedproducer Add tests for basic setup of the threadedproducer, including startup, teardown and publishing messages tests. * fix: waited message publishing and proper teardown Fix message publishing with wait=True for the ThreadedProducer of aiokafka. Also add proper teardown logic for the task creation to allow proper unit testing. * fix: python3.6 support for ThreadedProducer replace asyncio.create_task to the create_task call in the thread_loop as asyncio.create_task is unsupported in python 3.6 * chore: wait till worker task is completed on teardown
- Loading branch information
Showing
3 changed files
with
225 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.