Skip to content
Snippets Groups Projects
Commit f7a4eeeb authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

v1.2.5

parent d05b3d0e
No related branches found
Tags v1.2.5
No related merge requests found
# v1.2.5
* bugfix: fixed `log_frames` in `Cluster`
* improved Travis build pipeline
* added stress tests for `SelectListener`
# v1.2.4
......
......@@ -109,7 +109,7 @@ The default username used is guest, and password is guest.
You can also run unit tests from Docker, if you wish so. To launch the unit test suite:
```bash
docker-compose up tests
docker-compose up unittest
```
To launch the stress test suite
......
......@@ -10,6 +10,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Operating System :: OS Independent
......
......@@ -11,6 +11,7 @@ setup(keywords=['amqp', 'rabbitmq', 'client', 'network', 'ha', 'high availabilit
# per coverage version for codeclimate-reporter
tests_require=["nose2", "coverage", "nose2[coverage_plugin]"],
test_suite='nose2.collector.collector',
python_requires='!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
extras_require={
':python_version == "2.7"': ['futures', 'typing', 'monotonic'],
'prctl': ['prctl'],
......
......@@ -187,7 +187,7 @@ class TestA(unittest.TestCase):
self.assertTrue(P['q'])
def test_send_recv_nonzerolen_memoryview(self):
"""single and multi frame"""
"""single and multi frame in MEMORYVIEW mode"""
from coolamqp.attaches import BodyReceiveMode
con, fut = self.c.consume(Queue(u'hello7', exclusive=True), no_ack=True,
......@@ -210,7 +210,7 @@ class TestA(unittest.TestCase):
self.assertEquals(m.body.tobytes(), data)
def test_send_recv_nonzerolen_listofmemoryview(self):
"""single and multi frame"""
"""single and multi frame in LIST_OF_MEMORYVIEW mode"""
from coolamqp.attaches import BodyReceiveMode
con, fut = self.c.consume(Queue(u'hello8', exclusive=True), no_ack=True,
......
......@@ -15,3 +15,4 @@ coverage run -m compile_definitions
coverage run --append -m nose2 -vv
COOLAMQP_FORCE_SELECT_LISTENER=1 coverage run --append -m nose2 -vv
coverage run --append -m stress_tests
COOLAMQP_FORCE_SELECT_LISTENER=1 coverage run --append -m stress_tests
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment