Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 690 Bytes

File metadata and controls

13 lines (9 loc) · 690 Bytes

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:

  1. docker compose up -d (simple postgres database)
  2. ./gradlew test