Skip to content

Gevent merge #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Gevent merge #172

wants to merge 3 commits into from

Conversation

hmahmood
Copy link

This pull request should replace #155

@hmahmood
Copy link
Author

I think monkey patching in test/init.py is not working or working partially at best. In particular, kafka.util.ReentrantTimer is not getting patched correctly (the threading.Event instance used there is not patched). This just hangs the consumer integration tests since the ReentrantTimer instance inside the consumers does not exit (since its using threading.Event, not gevent.event.Event).

I am not sure why this is happening, but I suspect its the way nose imports the tests. The monkey patch has to be the first thing that happens before kafka gets imported. I suspect the opposite is happening.

@dpkp dpkp force-pushed the master branch 2 times, most recently from b5e3a14 to 4955582 Compare June 12, 2015 08:15
@hmahmood hmahmood closed this Sep 5, 2016
wbarnha added a commit to KazakovDenis/kafka-python that referenced this pull request Mar 20, 2024
… topic naming (dpkp#172)

* Update conftest.py to use request.node.originalname instead for legal topic naming

Otherwise parametrization doesn't work.

* Update test/conftest.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

---------

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
bradenneal1 pushed a commit to bradenneal1/kafka-python that referenced this pull request May 16, 2024
… topic naming (dpkp#172)

* Update conftest.py to use request.node.originalname instead for legal topic naming

Otherwise parametrization doesn't work.

* Update test/conftest.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

---------

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants