Skip to content

Commit

Permalink
Fix flakey test by asserting execution order.
Browse files Browse the repository at this point in the history
See #4838
Original pull request: #4843
  • Loading branch information
christophstrobl authored and mp911de committed Nov 28, 2024
1 parent 94a4fe7 commit 721799d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ public Flux<Void> saveWithErrorLogs(Person person) {
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), //
Expand Down

0 comments on commit 721799d

Please sign in to comment.