You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(fix): drop tearDownAfterClass scrub that broke paratest functional mode
In paratest's `--functional` mode `tearDownAfterClass` runs between every
test method, not just at suite end. The previous override scrubbed the
adapter keyspace and nulled `self::$database`, forcing the next test to
rebuild the database under a fresh `uniqid()` namespace while inherited
fixture statics (`$moviesFixtureInit`, `$documentsFixtureInit`, etc.)
stayed set — so cached fixture metadata pointed at collections that no
longer existed. Result: 84 errors and 8 failures across `find`, unique
index, and permission tests. Also align `setDatabase()` with the per-PID
`$this->testDatabase` so `testCreateExistsDelete` matches the actual
database name. CI Redis is ephemeral; leaking keys to process exit is
safe.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments