Randomise slow file event length

This commit is contained in:
Andras Schmelczer 2025-05-20 20:08:02 +01:00
parent 7776b69a0b
commit ec610c77fb
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 8 additions and 7 deletions

View file

@ -4,6 +4,7 @@ import { sleep } from "./utils/sleep";
import { v4 as uuidv4 } from "uuid";
import { randomCasing } from "./utils/random-casing";
// Simulate async file access by injecting waiting time before returning from file operations.
let slowFileEvents = false;
async function runTest({