spring-lemon
spring-lemon copied to clipboard
lemon-demo-reactive test fails when run first time
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
.