Commit 041ff456 authored by Federico Vaga's avatar Federico Vaga

tst: move performance test to a dedicated class to avoid fixtures conflicts

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 4dfbb86c
...@@ -235,6 +235,7 @@ class TestDma(object): ...@@ -235,6 +235,7 @@ class TestDma(object):
except OSError as error: except OSError as error:
assert False, "Failed after {:d} transfers".format(i) assert False, "Failed after {:d} transfers".format(i)
class TestDmaPerformance(object):
@pytest.mark.parametrize("dma_alloc_size", @pytest.mark.parametrize("dma_alloc_size",
[2**20 * x for x in range(1, 5)]) [2**20 * x for x in range(1, 5)])
def test_dma_throughput_read(self, spec, dma_alloc_size): def test_dma_throughput_read(self, spec, dma_alloc_size):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment