TestContainers + Bitbucket pipelines not working

XMLWordPrintable

    • 101

      Hi!

      We are using testContainers to perform integration tests. Unfortunately, we are not being able to execute it using the bitbucket-pipeline.

      We are using version 1.11.3 of testContainer to test our software with Cassandra. We are also using junt-jupiter for this.

      Locally the tests are performed with any problem. We are disabling ryuk by setting TESTCONTAINERS_RYUK_DISABLED to true in the environment variables.

      From the test report there seems to be a problem at the container startup:

      Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed
      

      Since Cassandra is a huge memory consumer, I double the size for the gradle test step and give 6gb of memory to docker service.

      Any idea on how to solve this problem?

      Thanks in advance.
      André

            Assignee:
            Unassigned
            Reporter:
            Deleted Account (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: