mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
test(qa): await initial TLS listener health (#153906)
This commit is contained in:
parent
f689192e93
commit
fc1d80aeea
1 changed files with 4 additions and 3 deletions
|
|
@ -433,9 +433,10 @@ export async function runGatewayTlsPinningProof(): Promise<GatewayTlsPinningProo
|
|||
});
|
||||
}
|
||||
};
|
||||
if ((await probeHealth())?.statusCode !== 200) {
|
||||
throw new Error("Initial local TLS health probe failed");
|
||||
}
|
||||
await waitForRenewalFact(
|
||||
async () => ((await probeHealth())?.statusCode === 200 ? true : undefined),
|
||||
"the initial accepted local TLS health listener",
|
||||
);
|
||||
const initialTarget = await missedRenewalProbe.resolveWebSocketTarget(port);
|
||||
if (initialTarget?.tlsFingerprint !== preparedTls.fingerprintSha256) {
|
||||
throw new Error("A WebSocket-first probe did not verify the initial listener pin");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue