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

lemon-demo-reactive test fails when run first time #45

Open
naturalprogrammer opened this issue Aug 31, 2021 · 0 comments
Open

lemon-demo-reactive test fails when run first time #45

naturalprogrammer opened this issue Aug 31, 2021 · 0 comments

Comments

@naturalprogrammer
Copy link
Owner

naturalprogrammer commented Aug 31, 2021

Running tests on lemon-demo-reactive requires mongodn to be running locally, and even then fails when run first time, If you run it second time, it passes.

Looks like it requires lemontest database to pre-exist. Couldn't we fix it by creating it beforehand? Or better yet, would be great if we could point it to an in-memory DB, or Docker or do something robust about it.

Technical hint: See the @SpringBootTest annotations on AbstractTests, and also MyTestUtils.initDatabase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant