From 2c080dd8ca9d9fb14bd63bd76abbeaa9ea2d4f29 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Tue, 29 Oct 2019 14:42:27 +0100 Subject: [PATCH] Loosen cache disk type requirements for simple cli tests Signed-off-by: Robert Baldyga --- test/functional/tests/cli/test_cli_start_stop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/tests/cli/test_cli_start_stop.py b/test/functional/tests/cli/test_cli_start_stop.py index 76e7f86..9230d1e 100644 --- a/test/functional/tests/cli/test_cli_start_stop.py +++ b/test/functional/tests/cli/test_cli_start_stop.py @@ -11,7 +11,7 @@ from storage_devices.disk import DiskType, DiskTypeSet from test_utils.size import Unit, Size -@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane])) +@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane])) @pytest.mark.parametrize("shortcut", [True, False]) def test_cli_start_stop_default_value(shortcut): with TestRun.LOGGER.step("Prepare devices"): @@ -44,7 +44,7 @@ def test_cli_start_stop_default_value(shortcut): TestRun.LOGGER.error("There is no 'No caches running' info in casadm -L output") -@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane])) +@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane])) @pytest.mark.parametrize("shortcut", [True, False]) def test_cli_add_remove_default_value(shortcut): cache_device = TestRun.disks['cache']