From 1232596c5af6459b80a3dce0c0b3d5a774139c02 Mon Sep 17 00:00:00 2001 From: Asier Isayas Date: Tue, 30 Dec 2025 14:51:05 -0500 Subject: [PATCH] increase time for change partition key request --- test/sql/scaleAndSettings/changePartitionKey.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sql/scaleAndSettings/changePartitionKey.spec.ts b/test/sql/scaleAndSettings/changePartitionKey.spec.ts index da9b422ef..a5f69cc35 100644 --- a/test/sql/scaleAndSettings/changePartitionKey.spec.ts +++ b/test/sql/scaleAndSettings/changePartitionKey.spec.ts @@ -1,5 +1,5 @@ import { expect, Page, test } from "@playwright/test"; -import { DataExplorer, TestAccount } from "../../fx"; +import { DataExplorer, ONE_MINUTE_MS, TestAccount } from "../../fx"; import { createTestSQLContainer, TestContainerContext } from "../../testData"; test.describe("Change Partition Key", () => { @@ -62,7 +62,7 @@ test.describe("Change Partition Key", () => { await changePkPanel.getByTestId("Panel/OkButton").click(); await pageInstance.waitForLoadState("networkidle"); - await expect(changePkPanel).not.toBeVisible({ timeout: 60 * 1000 }); + await expect(changePkPanel).not.toBeVisible({ timeout: 2 * ONE_MINUTE_MS }); // Verify partition key change job const jobText = explorer.frame.getByText(/Partition key change job/);