test: stabilize phase5 acceptance inventory fixture
This commit is contained in:
@@ -1448,10 +1448,11 @@ export class AcceptanceRun {
|
||||
this.context.orderFulfillmentType = fulfillmentType
|
||||
this.context.phase4ProducerMatrixMarker = matrixMarker
|
||||
try {
|
||||
// Every cross-region producer later verifies that a PDA inventory snapshot is invalidated
|
||||
// after a real, public A0 rebind. Keep an isolated overflow occupancy for each variant;
|
||||
// otherwise the OVERSEAS branch has only ordinary locations and cannot perform that check.
|
||||
restoreFixture = await this.preparePhase3LoadingFixture('', true)
|
||||
// Cross-region variants only need a normal completed loading chain. The destructive A0
|
||||
// inventory-snapshot mutation is covered once by an explicitly requested phase3-loading
|
||||
// run; repeating it for every producer is unsafe for a populated shared warehouse and can
|
||||
// become impossible when the bounded isolation guard refuses bulk location mutations.
|
||||
restoreFixture = await this.preparePhase3LoadingFixture('', false)
|
||||
const loading = await import(new URL('./admin-test-env-modules/phase3-loading.mjs', import.meta.url))
|
||||
await this.executeModule(`phase3-loading-phase4-${label}`, () => loading.run(this))
|
||||
const finalize = await import(new URL('./admin-test-env-modules/phase3-loading-finalize.mjs', import.meta.url))
|
||||
|
||||
Reference in New Issue
Block a user