Merge pull request #482 from Ostrokrzew/os_dependent

Add 'os_dependent' marker to tests with TF update
This commit is contained in:
Robert Baldyga
2020-08-26 11:02:02 +02:00
committed by GitHub
14 changed files with 30 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ def test_kedr_start_cache(module, unload_modules, install_kedr):
Kedr.stop()
@pytest.mark.os_dependent
@pytest.mark.parametrize("module", cas_module.CasModule)
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
@@ -213,6 +214,7 @@ def test_kedr_basic_io_raw(module, unload_modules, install_kedr):
Kedr.stop()
@pytest.mark.os_dependent
@pytest.mark.parametrize("module", cas_module.CasModule)
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))

View File

@@ -19,6 +19,7 @@ cores_number = 2
iterations_per_config = 5
@pytest.mark.os_dependent
@pytest.mark.parametrizex("cache_mode", CacheMode.with_traits(CacheModeTrait.LazyWrites))
@pytest.mark.parametrizex("cleaning_policy", CleaningPolicy)
@pytest.mark.parametrizex("cache_line_size", CacheLineSize)