You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kenanzero There is no postgres:12.4 image tag. The error occurs in Database.java.
The workaround is to change PostgreSQLContainer<>("postgres:12.4") to PostgreSQLContainer<>("postgres:12")
Hello,
When I run mvn install I get the FAILURE. What should I do to have SUCCESS message for Books REST Microservice?
Thanks.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Practising Quarkus 1.0-SNAPSHOT:
[INFO]
[INFO] Practising Quarkus :: First Step ................... SUCCESS [ 20.221 s]
[INFO] Practising Quarkus ................................. SUCCESS [ 0.050 s]
[INFO] Practising Quarkus :: Infrastructure ............... SUCCESS [ 0.331 s]
[INFO] Practising Quarkus :: Load ......................... SUCCESS [ 0.395 s]
[INFO] Practising Quarkus :: Books REST Microservice ...... FAILURE [ 13.355 s]
[INFO] Practising Quarkus :: Numbers REST Microservice .... SKIPPED
[INFO] Practising Quarkus :: UI Bookstore ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34.725 s
[INFO] Finished at: 2021-04-24T06:19:18+02:00
[INFO] ------------------------------------------------------------------------
Test set: org.agoncal.fascicle.quarkus.book.BookResourceTest
Tests run: 14, Failures: 0, Errors: 1, Skipped: 13, Time elapsed: 9.386 s <<< FAILURE! - in org.agoncal.fascicle.quarkus.book.BookResourceTest
org.agoncal.fascicle.quarkus.book.BookResourceTest.shouldGetInitialItems Time elapsed: 0.017 s <<< ERROR!
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.RuntimeException: Unable to start Quarkus test resource org.agoncal.fascicle.quarkus.book.infrastructure.Database@633fd91
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed
Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=postgres:12.4, imagePullPolicy=DefaultPullPolicy())
Caused by: com.github.dockerjava.api.exception.NotFoundException:
Status 404: {"message":"No such image: testcontainers/ryuk:0.3.0"}
The text was updated successfully, but these errors were encountered: