Skip to content

Commit a2f6792

Browse files
tests/storage/linstor: Added --expansion-sr-disk pytest option for specifying or auto-detecting Linstor SR expansion disks.
Signed-off-by: Rushikesh Jadhav <[email protected]>
1 parent 72bb94a commit a2f6792

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

conftest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ def pytest_addoption(parser):
7575
"4KiB blocksize to be formatted and used in storage tests. "
7676
"Set it to 'auto' to let the fixtures auto-detect available disks."
7777
)
78+
parser.addoption(
79+
"--expansion-sr-disk",
80+
action="append",
81+
default=[],
82+
help="Name of an available disk (sdc) or partition device (sdc2) to be formatted and used in storage tests. "
83+
"Set it to 'auto' to let the fixtures auto-detect available disks."
84+
)
7885

7986
def pytest_configure(config):
8087
global_config.ignore_ssh_banner = config.getoption('--ignore-ssh-banner')

0 commit comments

Comments
 (0)