Merge pull request #918 from Deixx/test-seq-workload-change

Limit workload for large cores in seq cutoff test
This commit is contained in:
Robert Baldyga 2021-08-20 10:21:22 +02:00 committed by GitHub
commit 9dd49e2964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,9 @@
import os
import random
from time import sleep
import pytest
from api.cas import casadm
from api.cas.cache_config import CacheMode, SeqCutOffPolicy, CacheModeTrait
from core.test_run_utils import TestRun
@ -159,7 +161,7 @@ def test_multistream_seq_cutoff_stress_raw(streams_seq_rand):
core.reset_counters()
with TestRun.step("Run I/O"):
stream_size = core_disk.size / 256
stream_size = min(core_disk.size / 256, Size(256, Unit.MebiByte))
sequential_streams = streams_seq_rand[0]
random_streams = streams_seq_rand[1]
fio = (Fio().create_command()