0.10.1 • Published 3 years ago

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

Weekly downloads
6
License
MIT
Repository
github
Last release
3 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

3 years ago

0.10.0

3 years ago

0.9.9

3 years ago

0.9.8

3 years ago

0.9.7

3 years ago

0.9.5

3 years ago

0.9.4

4 years ago

0.9.3

4 years ago

0.9.2

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago