Skip to content

Files

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 9, 2020
Nov 9, 2020
Jul 12, 2018
Jan 10, 2019
Jun 11, 2020
Nov 10, 2020
Mar 19, 2019
Jul 24, 2018
Nov 11, 2020

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.