tree: 19b99cc416239df32a6d27f27ebb9e4e19319e27 [path history] [tgz]
  1. certificate-authority/
  2. compose/
  3. docker-images/
  4. integration/
  5. pulsar-client-admin-shade-test/
  6. pulsar-client-all-shade-test/
  7. pulsar-client-shade-test/
  8. scripts/
  9. README.md
tests/README.md

This directory contains integration tests for Pulsar.

The integration tests use a framework called Test Containers to bring up a bunch of docker containers running Pulsar services. TestNG can then be used to test functionallity against these containers.

The tests require that docker is installed and running. To run the tests:

# in the top level directory
pulsar/ $ ./gradlew :tests:latest-version-image:dockerBuild   # builds the docker test image
pulsar/ $ ./gradlew :tests:integration:integrationTest        # runs the integration tests

The directories are as follows:

  • docker-images/ : Docker images for integration testing.
  • integration/ : The integration tests and utilities themselves.