You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the line api "org.grails.plugins:embedded-mongodb:2.0.1" is in the root build.gradle, and running the command ./gradlew cooee-customer:integrationTest, the test cases never run and ultimately fail with MongoTimeoutException.
Temporary Workaround
I spent hours trying to investigate the root cause without success. Although, I was able to fix my test cases by moving it to cooee-core/build.gradle.
My two cents- When the dependency is defined in root build.gradle, since it's also used by cooee-core, it's doWithSpring is being executed twice, one for cooee-customer and one for cooee-core.
Description
I have a mono repo architecture-
All the configurations are majorly there in root
build.gradle
-Problem
When the line
api "org.grails.plugins:embedded-mongodb:2.0.1"
is in the rootbuild.gradle
, and running the command./gradlew cooee-customer:integrationTest
, the test cases never run and ultimately fail with MongoTimeoutException.Temporary Workaround
I spent hours trying to investigate the root cause without success. Although, I was able to fix my test cases by moving it to
cooee-core/build.gradle
.Environment
The text was updated successfully, but these errors were encountered: