diff --git a/CHANGELOG.md b/CHANGELOG.md index f55085ca046293aeb89f6bbbb73c948560837bc6..33d80fc7bad49d70b5aec73065d83d515371c148 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,4 +7,4 @@ Since v1.3.2 they'll be put here and in release description. * compile_definitions will now depend on requests * added support for infinite (None) timeouts during start * stress tests will run for 120 seconds now -* stress tests will be harder \ No newline at end of file +* stress tests will be harder, and use more queues \ No newline at end of file diff --git a/coolamqp/__init__.py b/coolamqp/__init__.py index ad3558b61d339181ca1c5f415ffc3b98d4bc74fa..9f915c8fcfb4069ff0eb206eb984242c7d7e45b9 100644 --- a/coolamqp/__init__.py +++ b/coolamqp/__init__.py @@ -1 +1 @@ -__version__ = '1.3.2b2' +__version__ = '1.3.2b3' diff --git a/stress_tests/client.py b/stress_tests/client.py index 74880cc74f985f9502174f772f99bd58521b6507..7b78d211b9afe51f4e2a47a14ee151cd3fdbd60e 100644 --- a/stress_tests/client.py +++ b/stress_tests/client.py @@ -54,7 +54,6 @@ class Connection: try: self.name = self.cad_thread.free_names.popleft() except IndexError: - logger.warning('Ran out of free names') raise ValueError('Cannot create a connection %s - ran out of free names', Connection.CONNECTION_COUNTER) self.consumer, future = cad_thread.amqp.consume(Queue(self.name)) diff --git a/stress_tests/settings.py b/stress_tests/settings.py index 57424f46db7fd4210245eaa1d3915d217fa2cc86..4b3fd40e7c90e3bcdc40b092ef1282a3830e9cf1 100644 --- a/stress_tests/settings.py +++ b/stress_tests/settings.py @@ -33,4 +33,4 @@ class LogFramesToFile: except ValueError: pass -queue_names = (str(v) for v in range(100)) +queue_names = [str(v) for v in range(1000)]