Merge pull request #1284 from pdebski21/include_standby_tests_ci_scope

Include standby tests for CI scope
This commit is contained in:
Karolina Rogowska
2022-07-27 12:38:35 +02:00
committed by GitHub
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():