forked from oxidecomputer/omicron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some more resource helpers (oxidecomputer#6602)
Add `create_disk_from_snapshot` helper. Also, when writing unit tests that include expunging a disk, it's still useful to ask if all Crucible resources were expunged during clean up. However Nexus will not perform this clean up if a disk is expunged, so add a few methods to DiskTest to drop a given zpool from the PerSledDiskState.
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters