diff --git a/scripts/e2e/parallels/macos-smoke.ts b/scripts/e2e/parallels/macos-smoke.ts index 8afecf0c38e0..6a741e14ca14 100755 --- a/scripts/e2e/parallels/macos-smoke.ts +++ b/scripts/e2e/parallels/macos-smoke.ts @@ -499,7 +499,7 @@ class MacosSmoke { this.status.freshVersion = await this.extractLastVersion("fresh.install-main"); await this.phase("fresh.verify-main-version", 60, () => this.verifyTargetVersion()); await this.phase("fresh.verify-bundle-permissions", 180, () => this.verifyBundlePermissions()); - await this.phase("fresh.onboard-ref", 180, () => this.runRefOnboard()); + await this.phase("fresh.onboard-ref", 420, () => this.runRefOnboard()); await this.phase("fresh.gateway-start", 180, () => this.startManualGatewayIfNeeded()); await this.phase("fresh.gateway-status", 180, () => this.verifyGateway()); this.status.freshGateway = "pass"; @@ -551,7 +551,7 @@ class MacosSmoke { this.status.upgradeVersion = await this.extractLastVersion("upgrade.update-dev"); await this.phase("upgrade.verify-dev-channel", 60, () => this.verifyDevChannelUpdate()); } - await this.phase("upgrade.onboard-ref", 180, () => this.runRefOnboard()); + await this.phase("upgrade.onboard-ref", 420, () => this.runRefOnboard()); await this.phase("upgrade.gateway-start", 180, () => this.startManualGatewayIfNeeded()); await this.phase("upgrade.gateway-status", 180, () => this.verifyGateway()); this.status.upgradeGateway = "pass"; diff --git a/test/scripts/parallels-smoke-model.test.ts b/test/scripts/parallels-smoke-model.test.ts index 02e3f5de28fd..0dc429edede6 100644 --- a/test/scripts/parallels-smoke-model.test.ts +++ b/test/scripts/parallels-smoke-model.test.ts @@ -936,10 +936,11 @@ if (isPrlctl) { expect(guestTransports.match(/umask 022/g)).toHaveLength(2); }); - it("clears restored macOS npm content cache before install lanes", () => { + it("hardens restored macOS install lanes", () => { const macos = readFileSync(TS_PATHS.macos, "utf8"); expect(macos).toContain('rm -rf "$HOME/.npm/_cacache"'); + expect(macos.match(/\.onboard-ref", 420/g)).toHaveLength(2); }); it("provisions portable Git before Windows dev update lanes", () => {