优化
This commit is contained in:
@@ -768,10 +768,18 @@ export class AcceptanceRun {
|
||||
for (let sequence = 2; sequence <= total; sequence += 1) {
|
||||
this.marker = `${baseMarker}-WS${String(sequence).padStart(2, '0')}`
|
||||
this.applyWaitSplitVariant(sequence)
|
||||
const orderStepStart = this.steps.length
|
||||
await this.executeModule('orders', () => orders.run(this))
|
||||
if (this.modules.at(-1)?.success !== true) break
|
||||
const orderRun = this.modules.at(-1)
|
||||
const orderBlockingFailure = Boolean(orderRun?.fatal)
|
||||
|| this.steps.slice(orderStepStart).some((step) => !step.passed && step.deploymentBlocker)
|
||||
if (orderBlockingFailure) break
|
||||
const measurementStepStart = this.steps.length
|
||||
await this.executeModule('inbound-measurement', () => measurement.run(this))
|
||||
if (this.modules.at(-1)?.success !== true || !this.captureWaitSplitFixture(sequence)) break
|
||||
const measurementRun = this.modules.at(-1)
|
||||
const measurementBlockingFailure = Boolean(measurementRun?.fatal)
|
||||
|| this.steps.slice(measurementStepStart).some((step) => !step.passed && step.deploymentBlocker)
|
||||
if (measurementBlockingFailure || !this.captureWaitSplitFixture(sequence)) break
|
||||
}
|
||||
} finally {
|
||||
this.marker = baseMarker
|
||||
|
||||
Reference in New Issue
Block a user