mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
fix(qa): stop live config waits from timing out (#114112)
* fix(ci): start QA script scenarios in parallel * fix(qa): stop false live config waits
This commit is contained in:
@@ -65,13 +65,13 @@ describe("live QA gateway config", () => {
|
||||
.mockResolvedValueOnce({ hash: "next" })
|
||||
.mockResolvedValueOnce({
|
||||
hash: "next",
|
||||
configRevisionHash: "current",
|
||||
appliedConfigHash: "current",
|
||||
configRevisionHash: "runtime-next",
|
||||
appliedConfigHash: "runtime-current",
|
||||
})
|
||||
.mockResolvedValueOnce({
|
||||
hash: "next",
|
||||
configRevisionHash: "next",
|
||||
appliedConfigHash: "next",
|
||||
configRevisionHash: "runtime-next",
|
||||
appliedConfigHash: "runtime-next",
|
||||
});
|
||||
|
||||
const patching = patchLiveQaGatewayConfig({
|
||||
|
||||
@@ -38,10 +38,11 @@ async function waitForLiveQaGatewayConfigApplied(params: {
|
||||
configRevisionHash: status.configRevisionHash,
|
||||
hash: status.hash,
|
||||
};
|
||||
// The persisted raw-config hash and normalized runtime revision use different encodings.
|
||||
if (
|
||||
status.hash === params.expectedHash &&
|
||||
status.configRevisionHash === params.expectedHash &&
|
||||
status.appliedConfigHash === params.expectedHash
|
||||
typeof status.configRevisionHash === "string" &&
|
||||
status.appliedConfigHash === status.configRevisionHash
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user