forked from rockstor/rockstor-core
-
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.
extend volume_usage() unit test for pqgroup=-1/-1 rockstor#1769
In some instances the share.pqgroup db field can contain the nonsensical '-1/-1'. This unit test extension adds a call to volume_usage() with this value. This is to prove a pending fix to volume_usage() and help guard against future regressions of the same type: volume_usage() failing to return the expected number of list elements when passed a non existent qgroupip as 3rd parameter.
- Loading branch information
Showing
1 changed file
with
45 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