From 85e244f6022a20813a8136a449d524e508c54373 Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 23 Aug 2026 13:59:41 +0800 Subject: [PATCH] test(postgres): stabilize expired claim takeover --- .../ql3-cluster-control/test/postgres.integration.test.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ql3-cluster-control/test/postgres.integration.test.cjs b/packages/ql3-cluster-control/test/postgres.integration.test.cjs index 5100e5ef..177f7e2c 100644 --- a/packages/ql3-cluster-control/test/postgres.integration.test.cjs +++ b/packages/ql3-cluster-control/test/postgres.integration.test.cjs @@ -1019,8 +1019,8 @@ if (!migrationConnectionString || !runtimeConnectionString) { AS observed_at_ms ) UPDATE "ql3"."trigger_schedules" - SET updated_at_ms = observation.observed_at_ms - 2, - claim_expires_at_ms = observation.observed_at_ms - 1 + SET updated_at_ms = observation.observed_at_ms - 30002, + claim_expires_at_ms = observation.observed_at_ms - 30001 FROM observation WHERE project_id = 'default' AND trigger_id = $1`, [takeoverTrigger.triggerId],