Questions tagged [flapdoodle-embed-mongo]
24 questions
0
votes
0 answers
Problem while Downloding .tgz from our nexus repo instead of local path using embedded flapdoodle 4.7.0
While using embedded flapdoodle version < 4
I was using the below method to download .tgz from our Nexus repository:
if(StringUtils.isNotBlank(url) && StringUtils.isNotBlank(archivePath)) {
Command command = Command.MongoD;
…

DHARMIK SONI
- 19
- 3
0
votes
1 answer
Embedded Mongo flapdoodle issue in jenkins with openJDK 11
While migration java from 8 to 11, all the junit mongo query are getting fail in jenkins Linux server.
Error. - -11:06:20.987 [main] WARN de.flapdoodle.embed.mongo.packageresolver.linux.LinuxPackageFinder - because there is no package for…

Pranay Jaiswal
- 5
- 2
0
votes
1 answer
org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration.embeddedMongoServer
when I'm trying to update my spring-boot project to 2.7.x from 2.0.1, I'm getting the following error...
also, I'm using the flapdoodle embded dependemcy with version 3.0.0 for my testcases.
nested exception is java.lang.IllegalStateException: Error…
0
votes
1 answer
DAO test case getting failed
DAO test cases getting failed due to below error:
Caused by: java.lang.ClassNotFoundException: de.flapdoodle.embed.process.config.RuntimeConfig
we are using spring boot 2.7.3 version , Spring data mongoDB :3.4.2, MongoDB…

Rohit Shete
- 73
- 2
- 8
0
votes
0 answers
Setting up Flapdoodle so that it stores documents on the disk (+ caching)
I have a Spring Boot project for which I use Flapdoodle. Flapdoodle is used normally for testing, but I use it for development as it starts with the application itself and is comfortable to use. I just added it as dependency but without scope…

Capitano Giovarco
- 157
- 1
- 11
0
votes
2 answers
Embedded MongoDB with Spring not working in test
I am trying to create a test class with embedded MongoDB.
I can't start my test because it seems that embedded mongodb has not started.
The exception that I get is the following:
2021-10-18 17:33:17 INFO - [org.mongodb.driver.cluster:76] -…

jackjackjack
- 1
- 1
0
votes
1 answer
Spring autoconfigure.exclude not working on Apple Silicon M1 when running tests
I'm working on Spring Webflux, Kotlin, Mongo Project.
I'm using EmbeddedMongoDB to back DB in test codes.
Because spring tests automatically use EmbeddedMongoDB when not configured, we had to always exclude it like this post…

Kyoo Sik Lee
- 363
- 4
- 19
0
votes
1 answer
While compiling tests cases getting exception Caused by: java.io.IOException: Could not start process:
Can you please check below issue.
[2020-10-08T12:30:57.272Z] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoAppConfiig': Invocation of init method failed; nested exception is…

Panks
- 1
0
votes
0 answers
MongoDbTest in Spring Boot (memory) not honoring unique index
I'm doing a battery tests in a Spring Boot applications, using in memory MongoDbTest, and my test for testing unique/non-duplicate indexes is failing (it lets me create records with duplicate keys, and the relevant test fail).
For declaring the…

Sourcerer
- 1,891
- 1
- 19
- 32