Compare commits

..

12 Commits

Author SHA1 Message Date
Sindhu Balasubramanian
87fe289e3a Minor fix 2026-02-05 11:02:12 -08:00
Sindhu Balasubramanian
11c5748a31 Fix timeout in tests 2026-02-05 10:59:19 -08:00
Sindhu Balasubramanian
0b4c32a57d Revert "Fix timeout in tests"
This reverts commit 418b81c490.
2026-02-05 09:41:18 -08:00
Sindhu Balasubramanian
c0f783e3dd Merge branch 'master' of https://github.com/Azure/cosmos-explorer 2026-02-05 09:40:51 -08:00
Sindhu Balasubramanian
418b81c490 Fix timeout in tests 2026-02-04 23:10:47 -08:00
Sindhu Balasubramanian
25a89ebcb6 Merge branch 'master' of https://github.com/Azure/cosmos-explorer 2026-02-03 09:23:56 -08:00
Sindhu Balasubramanian
3f977df00d Merge branch 'master' of https://github.com/Azure/cosmos-explorer 2026-01-13 10:25:55 -08:00
Sindhu Balasubramanian
865e9c906b Run npm format 2026-01-08 13:16:22 -08:00
Sindhu Balasubramanian
1c34425dd8 Merge branch 'master' of https://github.com/Azure/cosmos-explorer 2026-01-08 13:00:47 -08:00
Sindhu Balasubramanian
50a244e6f9 Add Mongo Pagination tests 2026-01-08 12:55:24 -08:00
Sindhu Balasubramanian
9dad75c2f9 Remove localhost 2025-12-30 23:21:56 -08:00
Sindhu Balasubramanian
876b531248 Add changes for Load more option to work 2025-12-30 22:54:42 -08:00
2 changed files with 8 additions and 3 deletions

View File

@@ -250,7 +250,7 @@ class TreeNode {
// Try three times to wait for the node to expand.
for (let i = 0; i < RETRY_COUNT; i++) {
try {
await tree.waitFor({ state: "visible", timeout: 30000 });
await tree.waitFor({ state: "visible", timeout: 3 * 1000 });
// 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(120000); // 2 minutes timeout
test.setTimeout(180000); // 3 minutes timeout
// Create database with shared manual throughput (400 RU/s)
dbContext = await createTestDB({ throughput: 400 });
@@ -47,6 +47,7 @@ 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 });
@@ -100,6 +101,7 @@ 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 });
@@ -125,6 +127,7 @@ 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 });
@@ -159,7 +162,7 @@ test.describe("Database with Shared Throughput", () => {
});
test("Create database with shared autoscale throughput and verify Scale node in UI", async () => {
test.setTimeout(120000); // 2 minutes timeout
test.setTimeout(180000); // 3 minutes timeout
// Create database with shared autoscale throughput (max 1000 RU/s)
dbContext = await createTestDB({ maxThroughput: 1000 });
@@ -178,6 +181,7 @@ 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 });
@@ -203,6 +207,7 @@ 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 });