0.10.1 • Published 4 years ago

@dazn/chaos-squirrel-attack-disk-space v0.10.1

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

@dazn/chaos-squirrel-attack-disk-space

Consume lots of disk space. Spawns a dd process, so this is unlikely to work on non-unix systems.

Note that AWS Lambda functions have 512 MB disk space available.

Usage

import DiskSpaceAttack from '@dazn/chaos-squirrel-attack-disk-space';
const createDiskSpaceAttack = DiskSpaceAttack.configure({
  // 2gb
  size: 2000000000,
});
const diskSpaceAttack = createDiskSpaceAttack();

// Start and stop methods are async for this attack.
// You should await the results to ensure the file is fully created + removed
await diskSpaceAttack.start();
// a 2gb file will be created
await diskSpaceAttack.stop(); // deletes the file
0.10.1

4 years ago

0.10.0

4 years ago

0.9.9

4 years ago

0.9.8

4 years ago

0.9.7

4 years ago

0.9.5

4 years ago

0.9.4

5 years ago

0.9.3

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago