From 82643857cc77a80f9a819584035ec147a6114553 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 1 Nov 2023 08:54:27 -0700 Subject: Revert "chore: use kqueue backend of notify on macOS" (#21039) Reverts denoland/deno#21028 Reason: https://github.com/notify-rs/notify/blob/main/notify/src/kqueue.rs#L79-L81 Need to wait for the watcher thread to spawn otherwise we hit flakes --------- Signed-off-by: Divy Srivastava --- cli/tests/node_compat/config.jsonc | 1 - cli/tests/node_compat/test/parallel/test-fs-watchfile.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/tests/node_compat') diff --git a/cli/tests/node_compat/config.jsonc b/cli/tests/node_compat/config.jsonc index 85a5818e5..93a51b671 100644 --- a/cli/tests/node_compat/config.jsonc +++ b/cli/tests/node_compat/config.jsonc @@ -70,7 +70,6 @@ "test-fs-open.js", "test-fs-opendir.js", "test-fs-rmdir-recursive.js", - "test-fs-watchfile.js", "test-fs-write-file.js", "test-fs-write.js", "test-http-url.parse-https.request.js", diff --git a/cli/tests/node_compat/test/parallel/test-fs-watchfile.js b/cli/tests/node_compat/test/parallel/test-fs-watchfile.js index a23620aff..4acad4b94 100644 --- a/cli/tests/node_compat/test/parallel/test-fs-watchfile.js +++ b/cli/tests/node_compat/test/parallel/test-fs-watchfile.js @@ -107,6 +107,6 @@ if (common.isLinux || common.isOSX || common.isWindows) { fs.writeFile(path.join(dir, 'foo.txt'), 'foo', common.mustCall((err) => { if (err) assert.fail(err); })); - }, 20); + }, 1); })); } -- cgit v1.2.3