Revert "Fix timeout in tests"

This reverts commit 418b81c490.
This commit is contained in:
Sindhu Balasubramanian
2026-02-05 09:41:18 -08:00
parent c0f783e3dd
commit 0b4c32a57d
2 changed files with 3 additions and 9 deletions

View File

@@ -250,8 +250,7 @@ class TreeNode {
// Try three times to wait for the node to expand.
for (let i = 0; i < RETRY_COUNT; i++) {
try {
// Use a longer timeout (30s) since expanding may require loading children from the server
await tree.waitFor({ state: "visible", timeout: 30 * 1000 });
await tree.waitFor({ state: "visible" });
// The tree has expanded, let's get out of here
return true;
} catch {

View File

@@ -29,7 +29,7 @@ test.describe("Database with Shared Throughput", () => {
});
test("Create database with shared manual throughput and verify Scale node in UI", async () => {
test.setTimeout(180000); // 3 minutes timeout
test.setTimeout(120000); // 2 minutes timeout
// Create database with shared manual throughput (400 RU/s)
dbContext = await createTestDB({ throughput: 400 });
@@ -47,7 +47,6 @@ test.describe("Database with Shared Throughput", () => {
});
test("Add container to shared database without dedicated throughput", async () => {
test.setTimeout(180000); // 3 minutes timeout
// Create database with shared manual throughput
dbContext = await createTestDB({ throughput: 400 });
@@ -101,7 +100,6 @@ test.describe("Database with Shared Throughput", () => {
});
test("Scale shared database manual throughput", async () => {
test.setTimeout(180000); // 3 minutes timeout
// Create database with shared manual throughput (400 RU/s)
dbContext = await createTestDB({ throughput: 400 });
@@ -127,7 +125,6 @@ test.describe("Database with Shared Throughput", () => {
});
test("Scale shared database from manual to autoscale", async () => {
test.setTimeout(180000); // 3 minutes timeout
// Create database with shared manual throughput (400 RU/s)
dbContext = await createTestDB({ throughput: 400 });
@@ -162,7 +159,7 @@ test.describe("Database with Shared Throughput", () => {
});
test("Create database with shared autoscale throughput and verify Scale node in UI", async () => {
test.setTimeout(180000); // 3 minutes timeout
test.setTimeout(120000); // 2 minutes timeout
// Create database with shared autoscale throughput (max 1000 RU/s)
dbContext = await createTestDB({ maxThroughput: 1000 });
@@ -181,7 +178,6 @@ test.describe("Database with Shared Throughput", () => {
});
test("Scale shared database autoscale throughput", async () => {
test.setTimeout(180000); // 3 minutes timeout
// Create database with shared autoscale throughput (max 1000 RU/s)
dbContext = await createTestDB({ maxThroughput: 1000 });
@@ -207,7 +203,6 @@ test.describe("Database with Shared Throughput", () => {
});
test("Scale shared database from autoscale to manual", async () => {
test.setTimeout(180000); // 3 minutes timeout
// Create database with shared autoscale throughput (max 1000 RU/s)
dbContext = await createTestDB({ maxThroughput: 1000 });