The GitHub Actions job "Unit Tests" on pekko-projection.git/main has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 7b56fbb47be4e4d6cf5bc75a72ce75b31f50808e / He-Pin(kerr) <[email protected]> refactor: migrate JUnit 4 to JUnit 6.1.0 (#547) * refactor: migrate JUnit 4 to JUnit 6.1.0 Motivation: JUnit 4 is end-of-life. JUnit 6 unifies version numbering across Platform, Jupiter, and Vintage components. Modification: - Add JupiterKeys overrides for JUnit Jupiter and Platform 6.1.0 - Add sbt-jupiter-interface plugin for Jupiter test framework support - Migrate test files from JUnit 4 annotations to Jupiter equivalents - Replace TestKitJunitResource (JUnit 4 ExternalResource) with ActorTestKit + @BeforeAll/@AfterAll - Replace @Rule LogCapturing with @ExtendWith(LogCapturingExtension.class) - Remove scalatestplus-junit-4-13 and junit:junit dependencies Result: All tests run on JUnit 6.1.0 (Jupiter). * 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. * fix: correct invalid CQL in Cassandra test teardown DROP keyspace pekko_projection.offset_store is invalid CQL (keyspace names cannot contain dots). Changed to DROP keyspace pekko_projection. * fix: apply javafmt formatting to TestKitDocExample.java * ci: re-trigger CI to verify flaky Cassandra tests Report URL: https://github.com/apache/pekko-projection/actions/runs/28257292722 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
