Skip to content

Commit

Permalink
chore: try add more try time to test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hardfist committed Jan 22, 2025
1 parent 3ff1544 commit 0e958f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/scripts/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ export const waitFor = async (
};

export const awaitFileExists = async (dir: string) => {
const result = await waitFor(() => fs.existsSync(dir), { interval: 50 });
console.time(dir);
const result = await waitFor(() => fs.existsSync(dir), { interval: 500 });
console.timeEnd(dir);
if (!result) {
throw new Error(`awaitFileExists failed: ${dir}`);
}
Expand Down

1 comment on commit 0e958f3

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Ran ecosystem CI: Open

suite result
modernjs ❌ failure
plugins ✅ success
rspress ✅ success
rslib ✅ success
examples ✅ success

Please sign in to comment.