Skip to content

Commit c14be60

Browse files
christophstroblmp911de
authored andcommitted
Fix flakey test.
Original pull request: #4824 Closes #4804
1 parent d0ee280 commit c14be60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/ReactiveTransactionIntegrationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ public Flux<EventLog> saveWithLogs(Person person) {
452452
TransactionalOperator transactionalOperator = TransactionalOperator.create(manager,
453453
new DefaultTransactionDefinition());
454454

455-
return Flux.merge(operations.save(new EventLog(new ObjectId(), "beforeConvert")), //
455+
return Flux.concat(operations.save(new EventLog(new ObjectId(), "beforeConvert")), //
456456
operations.save(new EventLog(new ObjectId(), "afterConvert")), //
457457
operations.save(new EventLog(new ObjectId(), "beforeInsert")), //
458458
operations.save(person), //

0 commit comments

Comments
 (0)