Fix flakey test.

Original pull request: #4824
Closes #4804
This commit is contained in:
Christoph Strobl
2024-11-11 15:03:02 +01:00
committed by Mark Paluch
parent 723db60ce1
commit e9d44256c6

View File

@@ -453,7 +453,7 @@ public class ReactiveTransactionIntegrationTests {
TransactionalOperator transactionalOperator = TransactionalOperator.create(manager,
new DefaultTransactionDefinition());
return Flux.merge(operations.save(new EventLog(new ObjectId(), "beforeConvert")), //
return Flux.concat(operations.save(new EventLog(new ObjectId(), "beforeConvert")), //
operations.save(new EventLog(new ObjectId(), "afterConvert")), //
operations.save(new EventLog(new ObjectId(), "beforeInsert")), //
operations.save(person), //