Skip to content

Commit e9d4425

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

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
@@ -453,7 +453,7 @@ public Flux<EventLog> saveWithLogs(Person person) {
453453
TransactionalOperator transactionalOperator = TransactionalOperator.create(manager,
454454
new DefaultTransactionDefinition());
455455

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

0 commit comments

Comments
 (0)