exasol / integration-test-docker-environment

A docker-based environment for integration tests with the EXASOL DB.
https://exasol.github.io/integration-test-docker-environment/
MIT License
6 stars 2 forks source link

Fix output of test DockerTestEnvironmentDockerRuntimeInvalidRuntimeGivenTest #211

Closed tomuben closed 2 years ago

tomuben commented 2 years ago

Background

The test DockerTestEnvironmentDockerRuntimeInvalidRuntimeGivenTest aims to verify that the test environment can't be started with an invalud docker runtime. In the expected behavior it will not create the class variable spawned_docker_test_environments. However during the teardown of the test we still try to close the test envirnment referenced by spawned_docker_test_environments, which is expected to fail and raise an exception. This exception is printed out and pollutes the log of the test.

Acceptance

Avoid printing the exception if it's the expected exception.