diff --git a/test/js/node/process/process.test.js b/test/js/node/process/process.test.js index 09f9bb28f4..811abfb4bb 100644 --- a/test/js/node/process/process.test.js +++ b/test/js/node/process/process.test.js @@ -123,8 +123,8 @@ it("process.hrtime()", async () => { const end = process.hrtime(start); expect(end[0]).toBe(0); - // Flaky on Ubuntu. - await Bun.sleep(0); + // Flaky on Ubuntu & Windows. + await Bun.sleep(16); const end2 = process.hrtime(); expect(end2[1] > start[1]).toBe(true);