Fix flakey test by asserting execution order.
See #4838 Original pull request: #4843
This commit is contained in:
committed by
Mark Paluch
parent
94a4fe7acb
commit
721799dfdc
@@ -467,7 +467,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), //
|
||||
|
||||
Reference in New Issue
Block a user