Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write more end to end tests #23

Open
2 tasks
rgayon opened this issue Dec 28, 2018 · 1 comment
Open
2 tasks

Write more end to end tests #23

rgayon opened this issue Dec 28, 2018 · 1 comment

Comments

@rgayon
Copy link
Collaborator

rgayon commented Dec 28, 2018

  • Write test for "failing" disks
  • Write test with multiple attached disks
@rgayon
Copy link
Collaborator Author

rgayon commented Dec 28, 2018

Note to self:

Create a fake bad block device:

truncate -s 100M fake_partition; mkfs.ext4 fake_partition; losetup loop0 fake_partition
dmsetup create "baddisk" --table "0 10000 flakey /dev/loop0 3000 1 1"

cleanup:

dmsetup remove baddisk
losetup -d loop0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant