mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
EmulatorInfoController.performReset() runs every Resettable.clear() (which re-seeds SsoAdminService's default d-9067f2a3c1 instance) before calling StorageFactory.clearAll(), which wipes the `instances` backend again right after. Once any test in the same JVM fork hits /state/reset or /state/nuke, the default identity store never comes back, so every later SCIM request's hasIdentityStore check 401s for the rest of that fork — this is why ScimIntegrationTest passes in isolation but fails in the full suite (#3386). hasIdentityStore now self-heals the same way listInstances() already does, by ensuring the bootstrap instance exists before checking.