Closed vkorenev closed 4 years ago
Hi @vkorenev It seems to me that you have the image cached locally, try to delete that image and run the tests again. I just now uploaded the correct image to the Docker Hub to fix a problem in running the Cloudstate repository TCK
The image in my cache is definitely very old :-D
sleipnir/shopping-cart latest 5441905b00e3 50 years ago 558MB
The log should present messages similar to those here if it is downloading from the repository:
[main] INFO org.testcontainers.DockerClientFactory - Docker host IP address is localhost
[main] INFO org.testcontainers.DockerClientFactory - Connected to docker:
Server Version: 19.03.6
API Version: 1.40
Operating System: CentOS Linux 7 (Core)
Total Memory: 15568 MB
[tc-okhttp-stream-1249337777] INFO org.testcontainers.DockerClientFactory - Starting to pull image
[tc-okhttp-stream-1249337777] INFO org.testcontainers.DockerClientFactory - Pulling image layers: 0 pending, 0 downloaded, 0 extracted, (0 bytes/0 bytes)
[tc-okhttp-stream-1249337777] INFO org.testcontainers.DockerClientFactory - Pulling image layers: 2 pending, 1 downloaded, 0 extracted, (2 MB/? MB)
[tc-okhttp-stream-1249337777] INFO org.testcontainers.DockerClientFactory - Pulling image layers: 1 pending, 2 downloaded, 0 extracted, (2 MB/? MB)
[tc-okhttp-stream-1249337777] INFO org.testcontainers.DockerClientFactory - Pulling image layers: 0 pending, 3 downloaded, 0 extracted, (2 MB/4 MB)
[tc-okhttp-stream-1249337777] INFO org.testcontainers.DockerClientFactory - Pulling image layers: 0 pending, 3 downloaded, 1 extracted, (4 MB/4 MB)
[tc-okhttp-stream-1249337777] INFO org.testcontainers.DockerClientFactory - Pulling image layers: 0 pending, 3 downloaded, 2 extracted, (4 MB/4 MB)
[tc-okhttp-stream-1249337777] INFO org.testcontainers.DockerClientFactory - Pulling image layers: 0 pending, 3 downloaded, 3 extracted, (4 MB/4 MB)
[tc-okhttp-stream-1249337777] INFO org.testcontainers.DockerClientFactory - Pull complete. 3 layers, pulled in 1s (downloaded 4 MB at 4 MB/s)
[main] INFO org.testcontainers.DockerClientFactory - Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
[main] INFO org.testcontainers.DockerClientFactory - Checking the system...
[main] INFO org.testcontainers.DockerClientFactory - ✔︎ Docker server version should be at least 1.6.0
It would be nice if this test built the image from the current sources instead of relying on a pre-uploaded image.
in this case we would only have to run the proxy via "test containers" and the user's function would run in the test itself. I think it's cool that we deal with this in a new issue
Right now this test is skipped by
maven-surefire-plugin
because the class is namedIntegrationTests
while the plugin looks for classes ending withTest
. However if the test class is renamed toIntegrationTest
, the test fails: