5f35318ebd
Build & Test (NowChessSystems) TeamCity build failed
CDI fires StartupEvent to all observer beans regardless of @InjectMock substitution, causing GameCreationStreamClient and GameCreationStreamListener to start their poll loops during @QuarkusTest even when mocked. Without Redis configured in account tests, this floods logs with NPE stack traces from the unconfigured RedisDataSource synthetic bean. - Switch @Startup/@PostConstruct to @Observes StartupEvent on both beans - Guard startup body with nowchess.game-creation-stream.enabled (default true) - Disable the flag in modules/account/src/test/resources/application.yml Mirrors the nowchess.coordinator.enabled pattern in InstanceHeartbeatService. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>