Include standby tests for CI scope

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
This commit is contained in:
Piotr Debski
2022-07-20 13:28:19 +02:00
parent 5190c1dd8b
commit d678612c35
4 changed files with 15 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ from api.cas.cli_messages import (
)
@pytest.mark.CI
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
def test_activate_neg_cache_id():
"""
@@ -96,6 +97,7 @@ def test_activate_neg_cache_id():
)
@pytest.mark.CI
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
def test_activate_incomplete_cache():
@@ -212,6 +214,7 @@ def test_activate_incomplete_cache():
)
@pytest.mark.CI
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
def test_activate_neg_core_size():

View File

@@ -13,6 +13,7 @@ from test_utils.size import Size, Unit
from api.cas.cache_config import CacheStatus
@pytest.mark.CI
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
def test_standby_activate_the_same_cache_path():