The GitHub Actions job "Groovy Snapshot Canary Build" on 
grails-core.git/fix/mongodb-boot-autoconfiguration-registration-8.0.x has 
succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
a2b567290f17772f58ad390e07fb490be0e4980c / Scott Murphy Heiberg 
<[email protected]>
Give a spec its datastore before its own shared initializers run

The springboot example's extension wrote the shared MongoDatastore field
after proceeding with the spec's shared initializers, so an initializer
that used the datastore found it null. It now writes the field first.
setupSpec was never affected: it runs after the shared initializer, and
its interceptor, have finished.

SharedDatastoreSpec uses the datastore from a shared initializer and
from setupSpec, and checks that the spec's own initializers still run.
The shared initializer fails with a NullPointerException in the
previous order.

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

With regards,
GitHub Actions via GitBox

Reply via email to