Issue #41146 has identified that our current container test classes could be improved.

Specifically:

  • DockerImageNames should be an enum so that it can be used in an annotation
  • The package should be container not testcontainers since we use the names in Docker compose tests
  • Common testcontainer setup code should be in the same place rather than duplicated across multiple tests