Skip to content

Commit

Permalink
Extend timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Dec 20, 2024
1 parent cf6fbfc commit 819dd33
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion e2e/node/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1780,10 +1780,17 @@ describe(`End-to-end access grant tests for environment [${environment}] `, () =
queryEndpoint: new URL("query", vcProvider),
},
);
const maxPages = 3;
let pageCount = 0;
for await (const page of pages) {
expect(page.items).not.toHaveLength(0);
pageCount += 1;
// Avoid iterating for too long when there are a lot of results.
if (pageCount === maxPages) {
break;
}
}
}, 30_000);
}, 45_000);
},
);
});

0 comments on commit 819dd33

Please sign in to comment.