Commit 4c8be336 authored by Federico Vaga's avatar Federico Vaga

tst: add faster test for longer thatn fifo acq

The internal fifo can store only up to 15 timestamps. We noticed that
with bad configurations that around 100 timestamps it is starting to
missing some. To avoid waiting for 65k samples before detecting the
error, we make a first try with 100.
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 5ddee72c
......@@ -63,7 +63,8 @@ class TestFmcfdLoop(object):
assert len(fmcfd_tdc.poll(1000)) == 0
@pytest.mark.parametrize("count, period_ps", [(i + 1, 1000000) for i in range(15)] +
[(MAX_COUNT, 4500000000)])
[(100, 4500000000),
(MAX_COUNT, 4500000000)])
def test_output_counter(self, fmcfd, fmcfd_chan, fmcfd_tdc, count, period_ps):
"""In pulse mode, the Fine-Delay generates the exact number of
required pulses and we are able to read them all from the input
......
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