The GitHub Actions job "Unit Tests" on 
pekko-projection.git/feature/junit6-migration has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
719d10a41fd15b78959e78542946d3090ad4d57c / 虎鸣 <[email protected]>
fix: resolve NullPointerException in JUnit 5 migrated tests

In JUnit 5, static field initializers run before @BeforeAll methods, causing
ProjectionTestKit.create(testKit.system()) to fail when testKit is null.

Moved ProjectionTestKit initialization to @BeforeAll setup methods in:
- CassandraProjectionTest (also added ContainerSessionProvider.Config)
- WordCountDocExampleTest (also added ContainerSessionProvider.Config)
- ShoppingCartAppTest
- ProjectionTestKitTest
- JdbcProjectionTest
- TestKitDocExample
- JdbcHibernateTest

This ensures testKit is initialized before ProjectionTestKit tries to use it.

Report URL: https://github.com/apache/pekko-projection/actions/runs/28253954604

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to