Skip to content

Generated tests fail with "No such image: quay.io/testcontainers/ryuk:0.2.3" #187

Closed
@shpelda

Description

@shpelda

Describe the bug

Generated tests fail when executed.

How to Reproduce

Execute the generator with some asyncapi.yaml, and run gradlew build of generated service.

Expected behavior

It should not fail.
TEST-com.asyncapi.TestcontainerKafkaTest.zip

How to fix

Updated dependencies of generated build.gradle:

--- a/build.gradle
+++ b/build.gradle
@@ -16,11 +16,11 @@ dependencies {
   implementation('org.springframework.kafka:spring-kafka')
   testImplementation('org.springframework.kafka:spring-kafka-test')
   testImplementation('junit:junit:4.12')
-  testCompile('org.testcontainers:kafka:1.14.1')
+  testCompile('org.testcontainers:kafka:1.15.1')
   implementation('com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider')
   implementation('com.fasterxml.jackson.datatype:jackson-datatype-jsr310')
     implementation('javax.validation:validation-api')
   implementation('org.springframework.boot:spring-boot-starter-integration')
   testImplementation('org.springframework.boot:spring-boot-starter-test')
-  testCompile('org.testcontainers:testcontainers:1.14.1')
+  testCompile('org.testcontainers:testcontainers:1.15.1')
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions