1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-11 16:42:21 -05:00

chore(core): fix flaky flock_test on windows (#19477)

This commit is contained in:
Matt Mastracci 2023-06-12 14:30:29 -06:00 committed by Bartek Iwańczuk
parent 7e3b5b1a13
commit 8aeec47a62
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
This file is used for file locking tests and should not be used for anything else.

View file

@ -108,7 +108,7 @@ async function checkFirstBlocksSecond(opts: {
}
function runFlockTestProcess(opts: { exclusive: boolean; sync: boolean }) {
const path = "cli/tests/testdata/assets/fixture.json";
const path = "cli/tests/testdata/assets/lock_target.txt";
const scriptText = `
const { rid } = Deno.openSync("${path}");