Use parametrizex in tests

Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
Jan Musial
2020-08-10 14:26:40 +02:00
parent d75c49aced
commit 31fda78be4
31 changed files with 108 additions and 108 deletions

View File

@@ -27,7 +27,7 @@ stress_time = timedelta(minutes=30)
(CacheMode.WO, CleaningPolicy.acp),
(CacheMode.WO, CleaningPolicy.alru),
(CacheMode.WO, CleaningPolicy.nop)])
@pytest.mark.parametrize("cache_line_size", CacheLineSize)
@pytest.mark.parametrizex("cache_line_size", CacheLineSize)
@pytest.mark.require_disk("cache", DiskTypeSet([DiskType.optane, DiskType.nand]))
@pytest.mark.require_disk("core", DiskTypeLowerThan("cache"))
def test_stress_small_cas_device(cache_line_size, cores_number, cache_config):