Skip to content

Commit

Permalink
Stop test on dentv2 chain timeout (dentproject#398)
Browse files Browse the repository at this point in the history
Signed-off-by: fkwilken <[email protected]>
  • Loading branch information
fkwilken authored Aug 29, 2023
1 parent f7e2be6 commit 934e21e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ async def _test_dentv2_acl_perf_load_helper(infra_devices, chain_input, filter_i
filter_input[0]['pref'] += 1
filter_input[0]['filtertype']['src_ip'] += 1
num_rules += 1
assert loadtime < 166, f'Load time: {loadtime}s, num rules: {num_rules}'

# Delete the chain and all the rules it holds
unloadtime = 0
Expand Down Expand Up @@ -187,5 +188,4 @@ async def _test_dentv2_acl_perf_load_helper(infra_devices, chain_input, filter_i
endtime = time.time()
unloadtime += endtime - starttime
tb_restore_qdisc(dd, swp, 'ingress')
assert loadtime < 166, f'Load time: {loadtime}s, num rules: {num_rules}'
assert unloadtime < 20, f'Unload time: {unloadtime}s'

0 comments on commit 934e21e

Please sign in to comment.