mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-17 20:09:00 +01:00
Fix timeout for flaky tests (#2378)
* Add changes for Load more option to work * Remove localhost * Add Mongo Pagination tests * Run npm format * Fix timeout in tests * Revert "Fix timeout in tests" This reverts commit418b81c490. * Fix timeout in tests * Minor fix * Revert "Minor fix" This reverts commit87fe289e3a. * Revert "Fix timeout in tests" This reverts commit11c5748a31. * Fix timeout
This commit is contained in:
@@ -250,7 +250,7 @@ class TreeNode {
|
|||||||
// Try three times to wait for the node to expand.
|
// Try three times to wait for the node to expand.
|
||||||
for (let i = 0; i < RETRY_COUNT; i++) {
|
for (let i = 0; i < RETRY_COUNT; i++) {
|
||||||
try {
|
try {
|
||||||
await tree.waitFor({ state: "visible" });
|
await tree.waitFor({ state: "visible", timeout: 30000 });
|
||||||
// The tree has expanded, let's get out of here
|
// The tree has expanded, let's get out of here
|
||||||
return true;
|
return true;
|
||||||
} catch {
|
} catch {
|
||||||
|
|||||||
Reference in New Issue
Block a user