springwolf / springwolf-core

Automated documentation for event-driven applications built with Spring Boot
https://www.springwolf.dev
Apache License 2.0
255 stars 77 forks source link

test: improve testcontainer test stability #1011

Closed timonback closed 1 month ago

timonback commented 1 month ago

By default, a DockerComposeContainer copies the full gradle project directory into container. When running tests, the build/test-results/test/binary/output.bin file is written, which can get large. This file is not required for the tests and the test container default is overwritten to a single file (i.e. .env)

Original error messages: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image docker/compose com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"unexpected EOF"} java.io.IOException: Request to write '8192' bytes exceeds size in header of '2064381' bytes for entry

netlify[bot] commented 1 month ago

Deploy Preview for springwolf-ui canceled.

Name Link
Latest commit 707e8ea71c21259caf1e467da5025946fb764942
Latest deploy log https://app.netlify.com/sites/springwolf-ui/deploys/670915805ca14a0008eac06d