The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/fix/dataservice-null-datastore-guard has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
c19791805b387d0e88a24c9abc7769563c0cf5c3 / James Fredley 
<[email protected]>
test: add unit tests for 
DatastoreServiceMethodInvokingFactoryBean.resolveEffectiveDatastore()

Add comprehensive Spock tests covering all code paths in 
resolveEffectiveDatastore(),
including both null safety guard branches that throw ConfigurationException when
getDatastoreForConnection() returns null.

7 test cases cover:
- Non-multi-connection datastore passthrough
- Default connection resolution
- @Transactional(connection) annotation resolution
- Domain class datasource mapping resolution
- Both null guard paths (ConfigurationException)
- DEFAULT connection name does not override

Assisted-by: Claude Code <[email protected]>

Report URL: https://github.com/apache/grails-core/actions/runs/22599399828

With regards,
GitHub Actions via GitBox

Reply via email to