Closed Tobbers closed 6 months ago
@Tobbers hmm.. interesting .. you could fork this project (https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo.canary) and apply these changes until it breaks/works.. then i have to look into this..
Thanks, I will try that as soon as I can but it could take a while
Hey @michaelmosmann .
I was able to reproduce the problem in the canary project https://github.com/Tobbers/de.flapdoodle.embed.mongo.canary
A few comments:
@Tobbers cool.. thanks.. i will have a look into that.
@Tobbers .. hmm.. may i miss something. None of these cases did run on my machine (reverted the local-artifactory-url) .. after setting useNoJournal to false (yes.. it should be useJournal=true) it failed with this error message:
ommand failed with error 13436 (NotPrimaryOrSecondary): 'node is not in primary or recovering state'
@michaelmosmann hm that is weird. I wasn't at work for a week but when I came back ConfigurationA still ran. One thing that I didn't mention is that since we have no internet access and ConfigurationA doesn't specify the download location I had to install the local mongo manually. For this I followed the instructions printed on the first test run. Something like "Download zip manually and put it at "%userprofile%/.embededmongo/archives/....". Don't know if you did the same.
If this Information doesn't help you locating the problem I think I´ll have to bite the bullet and refrain from testing transactions with flapdoodle.
@Tobbers is this still an issue? i would close this.. reopen if needed.
Hi,
i am currently trying to get flapdoodle to run with transaction support but so far i have failed. I tried to follow this guide as well as other sources i could find online / in my company. My current setup (tried different setups as well) is as follows:
application-test.yaml:
EmbededMongoConfiguration:
Very basic test:
Service that´s being tested:
With this setup I get the following error:
Do you have any suggestions that I could try to resolve the issue?