Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
rluvaton committed Jul 28, 2023
1 parent 13957c1 commit a3c7b66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-abortcontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,16 +250,16 @@ const { setTimeout: sleep } = require('timers/promises');
}

await sleep(10);
global.gc();
globalThis.gc();
}

(async () => {
// Making sure we create some data so we won't catch something that is related to the infra
await createALotOfAbortSignals().then(common.mustCall());
await createALotOfAbortSignals();

const currentMemory = getMemoryAllocatedInMB();

await createALotOfAbortSignals().then(common.mustCall());
await createALotOfAbortSignals();

const newMemory = getMemoryAllocatedInMB();

Expand Down

0 comments on commit a3c7b66

Please sign in to comment.