-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Labels
in: event publication registryEvent publication registryEvent publication registrymeta: waiting for feedbackWaiting for feedback of the original reporterWaiting for feedback of the original reporter
Description
When using CompetitionMode ARCHIVE with Mongo Event repository following error occurs:
Command execution failed on MongoDB server with error 263 (OperationNotSupportedInTransaction): '$merge cannot be used in a transaction' on server ...
How to reproduce:
Add @SpringBootTest(properties = {CompletionMode.PROPERTY + "=ARCHIVE"}) to spring-modulith-examples/spring-modulith-example-epr-mongodb/src/test/java/example/ApplicationIntegrationTests.java
P.S. I see there are test for all Completion modes in MongoDbEventPublicationRepositoryTest, but for 1.x they were run against embedded Mongo and for 2.x i see that tests are skipped in CI.
amondnet
Metadata
Metadata
Assignees
Labels
in: event publication registryEvent publication registryEvent publication registrymeta: waiting for feedbackWaiting for feedback of the original reporterWaiting for feedback of the original reporter