micronaut-guides
micronaut-guides copied to clipboard
MongoDB guide sample application broken
The MongoDB guide doesn't have the test resources plugin added and configured correctly so tests fail out of the box.
Steps to reproduce
- Download https://guides.micronaut.io/latest/micronaut-data-mongodb-asynchronous-gradle-java.html
- Run tests (broken)
- Add
id("io.micronaut.test-resources") version "3.7.8"
to build - Run tests (still broken with Read Timeout exception)
- Add
micronaut:
application:
name: micronautguide
http:
client:
read-timeout: 10s
and
micronaut {
...
testResources {
clientTimeout = 360
}
}
Now passing.