Randomise slow file event length
This commit is contained in:
parent
7776b69a0b
commit
ec610c77fb
2 changed files with 8 additions and 7 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue