summaryrefslogtreecommitdiff
path: root/tests/zmq_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Python 3 compatibility fixesJakub Stasiak2014-07-181-49/+50
| | | | | | Closes GH-102 Closes GH-103 Closes GH-104
* python3 compatibilitySergey Shepelev2014-04-241-14/+9
| | | | | | | | | | | | - __next__ for iterator interface - six.next() to get next item - list(dict.keys()) - popen2.popen4 -> subprocess - s2b -> b"..." literals - deprecated assertEquals -> assertEqual - hub_test test_fork using run_python - 1L -> 1 long literal - many PEP-8 fixes
* pypy compatibilityJakub Stasiak2014-04-151-8/+19
|
* python3 compat: 2to3: `except E as e:` syntaxDavanum Srinivas2013-12-031-1/+1
| | | | | | | First step to Python 3 compatibility "2to3 -w -f except ." See [1] [1] http://docs.python.org/2/library/2to3.html#fixers
* doc: fix bitbucket links after relocation to separate accountSergey Shepelev2013-04-091-2/+2
|
* tests: zmq: test idle CPU usage after zmq .bind(PUB)Sergey Shepelev2013-01-211-1/+39
|
* tests: zmq: support both SNDHWM and old HWM (libzmq <3.0); Thanks to Geoff ↵Sergey Shepelev2013-01-211-1/+7
| | | | Salmon
* zmq: Socket.close() support linger argument; Thanks to Eric WindischSergey Shepelev2013-01-141-0/+10
| | | | | https://github.com/eventlet/eventlet/issues/9 Regression. Worked in 0.9.16 because .close() method was not overriden.
* Fix zmq._QueueLock test in Python2.6 - TestCase.assertRaises is not context ↵Sergey Shepelev2012-12-111-8/+10
| | | | manager yet
* Test for Pull Request 22: zmq getsockopt(EVENTS) wake correct threadsSergey Shepelev2012-12-111-7/+28
|
* Fix python 2.5 supportFloris Bruynooghe2012-09-051-0/+2
| | | | | | | | | | | * Avoid using property.setter(), use old-style properties instead. * Avoid using the new pep8-style threading API. * Use from __future__ import with_statement where it is used. * Add python 2.5 environments to tox, no epolls since that did not yet exist.
* ensure sockets are collected and closed in zmq testGeoff Salmon2012-01-261-2/+6
|
* fix zmq test that sometimes called recv on closed sktGeoff Salmon2012-01-261-2/+1
|
* test closing zmq x-socketsGeoff Salmon2012-01-261-0/+9
|
* Rename zmq._SimpleEvent. Add close during recv test. Updating comments.Geoff Salmon2012-01-261-34/+22
|
* simplify testGeoff Salmon2012-01-261-3/+2
|
* Tweak multipart message zmq testGeoff Salmon2011-09-141-1/+1
|
* Add test for multipart zmq messagesGeoff Salmon2011-09-141-0/+37
|
* Not using zmq_poll anymore, so we can allow multiple zmq.Context objects in ↵Geoff Salmon2011-09-141-42/+0
| | | | the same native thread.
* add tests for zmq._SimpleEvent and zmq._QueueLockGeoff Salmon2011-09-141-1/+130
|
* fixed missed read events on zmq socked FDGeoff Salmon2011-09-051-36/+40
|
* first stab at supporting multiple senders and receivers. incomplete.Geoff Salmon2011-09-021-0/+57
|
* Refactoring zmq support tests in light of lack of zeromq hub.Ryan Williams2011-04-091-14/+23
|
* Initial implementation of hubless zeromq support using ZMQ_FD and ZMQ_EVENTS.Zed Shaw2011-04-081-34/+7
|
* Yessss....test from rfk. TYVM Fixes #76.Ryan Williams2011-01-281-0/+7
|
* Skipping repeated selects test on zmq hub because it doesn't appear to ↵Ryan Williams2011-01-231-8/+1
| | | | support detecting bad filenos at select() time.
* Ha ha, importing patch from #71 (thanks, Alexey, and fixing up the AUTHORS.Ryan Williams2010-12-201-1/+1
|
* Added back in some sleep statements that I'd managed to deleteBen Ford2010-12-041-0/+2
|
* Merge from trunkBen Ford2010-12-041-41/+74
|\
| * General tidy up and addition of long overdue docstringsBen Ford2010-12-041-5/+15
| |
| * Fix for bug #68. This has also included an update to zeromq and pyzmq that ↵Ben Ford2010-12-041-1/+10
| | | | | | | | implements tracking of messages, so I don't know what this will do to hudson
| * Test case for #68. As expected the test raised TestIsTakingTooLongBen Ford2010-12-041-0/+9
| |
| * Doing a better job skipping zmq tests on machines that don't have it.Ryan Williams2010-10-271-39/+43
| |
| * Switching to 2.4-friendly syntax here.Ryan Williams2010-10-181-1/+1
| |
* | Made a start on the zeromq documentationBen Ford2010-10-211-2/+0
|/
* Refactored the green version of zmq to use a factory function for ContextBen Ford2010-10-121-6/+28
|
* Fix up tests so they run on a slower virtual machineBen Ford2010-10-111-22/+5
|
* Fixed a couple of bugs in tests by adding sleep statements. I seem to ↵Ben Ford2010-10-101-5/+9
| | | | remember reading somewhere that the context and sockets created from it might not be ready for use straight away - but I'll need to check and confirm this
* Added a couple of pub/sub testsBen Ford2010-09-301-8/+114
|
* Took sleep statements out of send/recv functions. Renamed tests to zmq_testsBen Ford2010-09-241-0/+153