Skip to content

Commit

Permalink
Send more data in stress tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Forencich <[email protected]>
  • Loading branch information
alexforencich committed Aug 11, 2023
1 parent 0f82898 commit 3b736b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tb/axis_async_fifo/test_axis_async_fifo.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None):

test_frames = []

for k in range(128):
for k in range(512):
length = random.randint(1, byte_lanes*16)
test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length))
test_frame = AxiStreamFrame(test_data)
Expand Down
2 changes: 1 addition & 1 deletion tb/axis_async_fifo_adapter/test_axis_async_fifo_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None):

test_frames = []

for k in range(128):
for k in range(512):
length = random.randint(1, byte_lanes*16)
test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length))
test_frame = AxiStreamFrame(test_data)
Expand Down
2 changes: 1 addition & 1 deletion tb/axis_fifo/test_axis_fifo.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None):

test_frames = []

for k in range(128):
for k in range(512):
length = random.randint(1, byte_lanes*16)
test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length))
test_frame = AxiStreamFrame(test_data)
Expand Down
2 changes: 1 addition & 1 deletion tb/axis_fifo_adapter/test_axis_fifo_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None):

test_frames = []

for k in range(128):
for k in range(512):
length = random.randint(1, byte_lanes*16)
test_data = bytearray(itertools.islice(itertools.cycle(range(256)), length))
test_frame = AxiStreamFrame(test_data)
Expand Down

0 comments on commit 3b736b6

Please sign in to comment.