Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB guide sample application broken #1266

Open
graemerocher opened this issue Apr 18, 2023 · 0 comments
Open

MongoDB guide sample application broken #1266

graemerocher opened this issue Apr 18, 2023 · 0 comments
Labels
type: bug Something isn't working

Comments

@graemerocher
Copy link
Contributor

The MongoDB guide doesn't have the test resources plugin added and configured correctly so tests fail out of the box.

Steps to reproduce

  1. Download https://guides.micronaut.io/latest/micronaut-data-mongodb-asynchronous-gradle-java.html
  2. Run tests (broken)
  3. Add id("io.micronaut.test-resources") version "3.7.8" to build
  4. Run tests (still broken with Read Timeout exception)
  5. Add
micronaut:
  application:
    name: micronautguide
  http:
    client:
      read-timeout: 10s

and

micronaut {
   ...
    testResources {
        clientTimeout = 360
    }
}

Now passing.

@graemerocher graemerocher added the type: bug Something isn't working label Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant