@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright(c) 2019-2022 Intel Corporation
|
||||
# Copyright(c) 2024 Huawei Technologies
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
@@ -37,6 +38,7 @@ from api.cas.core import CoreStatus
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
def test_standby_neg_cli_params():
|
||||
"""
|
||||
@@ -106,6 +108,7 @@ def test_standby_neg_cli_params():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
def test_activate_neg_cli_params():
|
||||
"""
|
||||
@@ -186,6 +189,7 @@ def test_activate_neg_cli_params():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
def test_standby_neg_cli_management():
|
||||
"""
|
||||
@@ -262,6 +266,7 @@ def test_standby_neg_cli_management():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
def test_start_neg_cli_flags():
|
||||
"""
|
||||
@@ -316,6 +321,7 @@ def test_start_neg_cli_flags():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
def test_activate_without_detach():
|
||||
"""
|
||||
@@ -379,6 +385,7 @@ def test_activate_without_detach():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("active_cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
@pytest.mark.require_disk("standby_cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
def test_activate_neg_cache_line_size():
|
||||
@@ -470,6 +477,7 @@ def test_activate_neg_cache_line_size():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
|
||||
def test_standby_init_with_preexisting_metadata():
|
||||
@@ -528,6 +536,7 @@ def test_standby_init_with_preexisting_metadata():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
|
||||
@pytest.mark.parametrizex("filesystem", Filesystem)
|
||||
@@ -579,6 +588,7 @@ def test_standby_init_with_preexisting_filesystem(filesystem):
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("caches", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("caches"))
|
||||
def test_standby_activate_with_corepool():
|
||||
@@ -637,6 +647,7 @@ def test_standby_activate_with_corepool():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
@pytest.mark.parametrizex("cache_line_size", CacheLineSize)
|
||||
def test_standby_start_stop(cache_line_size):
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright(c) 2022 Intel Corporation
|
||||
# Copyright(c) 2024 Huawei Technologies
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
@@ -42,6 +43,7 @@ mountpoint = "/tmp/drbd_functional_test"
|
||||
test_file_path = f"{mountpoint}/test_file"
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("metadata_dev", DiskTypeSet([DiskType.nand]))
|
||||
@pytest.mark.require_disk("core_dev", DiskTypeSet([DiskType.hdd]))
|
||||
@pytest.mark.require_disk("raid_dev1", DiskTypeSet([DiskType.optane]))
|
||||
@@ -226,6 +228,7 @@ def test_functional_activate_twice_round_trip(filesystem):
|
||||
TestRun.LOGGER.end_group()
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("metadata_dev", DiskTypeSet([DiskType.nand]))
|
||||
@pytest.mark.require_disk("core_dev", DiskTypeSet([DiskType.hdd]))
|
||||
@pytest.mark.require_disk("raid_dev1", DiskTypeSet([DiskType.optane]))
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright(c) 2019-2022 Intel Corporation
|
||||
# Copyright(c) 2024 Huawei Technologies
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
@@ -28,6 +29,7 @@ offset = 1 # offset is expressed in the number of blocks
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
|
||||
def test_activate_corrupted():
|
||||
@@ -85,6 +87,7 @@ def test_activate_corrupted():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
|
||||
def test_load_corrupted():
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright(c) 2019-2022 Intel Corporation
|
||||
# Copyright(c) 2024 Huawei Technologies
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
@@ -27,6 +28,7 @@ from api.cas.cli_messages import (
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
def test_activate_neg_cache_id():
|
||||
"""
|
||||
@@ -98,6 +100,7 @@ def test_activate_neg_cache_id():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
|
||||
def test_activate_incomplete_cache():
|
||||
@@ -215,6 +218,7 @@ def test_activate_incomplete_cache():
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
|
||||
def test_activate_neg_core_size():
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright(c) 2022 Intel Corporation
|
||||
# Copyright(c) 2024 Huawei Technologies
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
@@ -19,6 +20,7 @@ from test_utils.os_utils import sync
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.nand, DiskType.optane]))
|
||||
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
|
||||
@pytest.mark.parametrizex("cache_line_size", CacheLineSize)
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright(c) 2022 Intel Corporation
|
||||
# Copyright(c) 2024 Huawei Technologies
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
@@ -14,6 +15,7 @@ from api.cas.cache_config import CacheStatus
|
||||
|
||||
|
||||
@pytest.mark.CI
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@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():
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#
|
||||
# Copyright(c) 2019-2022 Intel Corporation
|
||||
# Copyright(c) 2024 Huawei Technologies
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
@@ -385,6 +386,7 @@ def test_cas_startup_negative_missing_cache():
|
||||
|
||||
|
||||
@pytest.mark.os_dependent
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
@pytest.mark.require_disk("core", DiskTypeSet([DiskType.hdd]))
|
||||
@pytest.mark.require_plugin("power_control")
|
||||
@@ -490,6 +492,7 @@ def test_failover_config_startup():
|
||||
|
||||
|
||||
@pytest.mark.os_dependent
|
||||
@pytest.mark.skip(reason="Standby mode is not supported")
|
||||
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
|
||||
def test_failover_config_startup_negative():
|
||||
"""
|
||||
|
Reference in New Issue
Block a user