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.3 (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.4.tar.gz (24.8 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.4-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rabbitfixture-0.5.4.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for rabbitfixture-0.5.4.tar.gz
Algorithm Hash digest
SHA256 678eb5bba0da9083742020512da582788b17674cc48e7425422e1dad8f572c6f
MD5 65631ed4dc246f61f182cec2c9a7ddf6
BLAKE2b-256 bb3ce9033b87d2bf019d214c3d764ddc9e57a33c507b4c1e7da2c56b76b4cc2b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rabbitfixture-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 348c50dc6c01137220ad1ee658b4efae643aafcd9a6d313e2b51228bcb3d57b3
MD5 df06b8cfc957e6599b5e78654726adaf
BLAKE2b-256 b4777d632a64e4b8f7d75b7358dc74376068f6387c1c61da813bbfd53430abc6

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