Minimum reproducible example for spring framework issue Propagate CoroutineContext in reactive transaction.
Test cases:
- Create example entity - PASSES
- Create example entity in
@Transaction
- FAILS - Create example entity in
TransactionalOperator
- FAILS
The failures are due to the coroutine context assertion performed in ExampleService
.
How to run:
docker compose up -d
(simple postgres database)./gradlew test