Skip to main content

A RabbitMQ fixture.

Project description

A RabbitMQ fixture.

Testing

The rabbitmq-server package must be installed.

$ make check

NEWS for rabbitfixture

0.5.5 (2025-07-02)

  • Add support for Python 3.8 to 3.14.

  • Drop support for Python <3.8.

  • Add a .launchpad.yaml configuration to run the tests on focal, jammy, noble, and resolute.

0.5.4 (2025-11-14)

  • No code changes. Only changes to the project and package setup.

0.5.3 (2022-09-07)

  • Set RABBITMQ_CTL_DIST_PORT_MIN and RABBITMQ_CTL_DIST_PORT_MAX environment variables, as otherwise rabbitmqctl starts this port range at RABBITMQ_DIST_PORT + 10000, which may exceed 65535.

0.5.2 (2022-08-01)

  • Only send SIGTERM once while stopping RabbitServerRunner, since it’s sent to the whole process group and that can itself interfere with the shutdown process if we send it frequently and repeatedly.

  • Fix ignoring of ESRCH errors in RabbitServerRunner._signal.

0.5.1 (2022-07-22)

  • Ignore ESRCH errors in RabbitServerRunner._signal, since this can happen if the server process exits by itself just before we try to signal it.

0.5.0 (2021-02-02)

  • Add tox testing support and drop buildout.

  • Fix test_stop_hang failure introduced in 0.4.2.

  • Handle SIGCHLD while stopping the RabbitServerRunner fixture, since the rabbitmq-server process we’re trying to stop is our direct child process.

  • Fix ResourceWarning on Python 3 if RabbitServerEnvironment.rabbitctl times out.

  • Handle new format of rabbitmqctl status output in RabbitMQ 3.7.0.

0.4.2 (2019-08-23)

  • Allow changing the default server control timeout.

  • Use a PEP 508 environment marker for the subprocess32 dependency.

0.4.1 (2019-03-28)

0.4.0 (2018-05-08)

  • Port to amqp.

  • Add Python 3 support.

0.3.8 (2016-09-05)

  • Export the RABBITMQ_ENABLED_PLUGINS_FILE environment variable and make it point to /dev/null by default.

0.3.7 (2016-05-31)

  • Fix buildout no longer working with latest dependency versions.

  • Fix hang in test_stop_hang unit tests.

  • Move the kill code into a new RabbitServerRunner.kill API.

0.3.6 (2015-04-24)

  • Apply a timeout to all rabbitmqctl calls to work around occasional hangs on stop.

0.3.5 (2014-05-29)

0.3.4 (2013-09-16)

0.3.3 (2012-05-15)

0.3.2 (2011-09-29)

0.3.1 (2011-09-09)

  • Fix RabbitServerResources reuse by reapplying the defaults each time (potentially setting things back to None, to let them be reallocated).

  • Use a custom RABBITMQ_PLUGINS_DIR, so the fixture server doesn’t load plugins that might cause port conflicts.

  • Adjust rabbitmqctl status regex to cope with rabbitmq 2.5.

0.3 (2011-07-05)

  • Make RabbitServerResources configurable so that users have more control over the resources that the fixture makes use of.

0.2.1 (2011-07-05)

  • Depend on setuptools.

0.2 (2011-07-05)

  • Remove the Launchpad-specific service_config.

0.1 (2011-06-30)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rabbitfixture-0.5.5.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rabbitfixture-0.5.5-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file rabbitfixture-0.5.5.tar.gz.

File metadata

  • Download URL: rabbitfixture-0.5.5.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for rabbitfixture-0.5.5.tar.gz
Algorithm Hash digest
SHA256 1dca3784a7029028cf848429a99d73710f91954e1a1cf13f1876eb70473849bc
MD5 4a2ab9b2678834ae2037c856efbcc777
BLAKE2b-256 a23359d03c9376a3513f2553894d1c8ce40abcca9f859831e5b03af7e41128ab

See more details on using hashes here.

File details

Details for the file rabbitfixture-0.5.5-py3-none-any.whl.

File metadata

  • Download URL: rabbitfixture-0.5.5-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for rabbitfixture-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6b2efb20e8a52db6144ab95ff330d771a4bb8c16456ab0e78f2385b7b246bde1
MD5 9e8e966441ff2d7bb569371351283457
BLAKE2b-256 a363a07ff61899156098b88f051ff6e187ea0861d92b98056708c6d0a3c2a4e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page