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 d0ee280f09
commit c14be606cf

View File

@@ -452,7 +452,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), //