tree: bbd5bc47933702b7cf0602c7d49f1c43df8d2f43 [path history] [tgz]
  1. README.md
  2. bc_2_0_0/
  3. bc_2_0_1/
  4. certificate-authority/
  5. compose/
  6. docker-images/
  7. integration/
  8. pom.xml
  9. pulsar-kafka-compat-client-test/
  10. pulsar-spark-test/
  11. pulsar-storm-test/
  12. scripts/
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. Tests will only run if the integrationTests system property is defined. To run the tests:

# in the top level directory
pulsar/ $ mvn install -DskipTests -Pdocker # builds the docker images
...
pulsar/ $ mvn -f tests/pom.xml test -DintegrationTests

The directories are as follows:

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