X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ft-rex%2Ft-rex-stateless.py;h=46c67cc82909765171708806044e90f57e8a354e;hp=6c53794739afd44636eed5d91aa274285ff1153e;hb=d637af34421fffe61417bb16e45a7105aae118b9;hpb=cdf3213528f5f560d8d8b92c642f655cef706745 diff --git a/resources/tools/t-rex/t-rex-stateless.py b/resources/tools/t-rex/t-rex-stateless.py index 6c53794739..46c67cc829 100755 --- a/resources/tools/t-rex/t-rex-stateless.py +++ b/resources/tools/t-rex/t-rex-stateless.py @@ -158,7 +158,7 @@ def simple_burst(pkt_a, pkt_b, duration=10, rate="1mpps", c.start(ports=[0, 1], mult=rate, duration=duration) # block until done - c.wait_on_traffic(ports=[0, 1]) + c.wait_on_traffic(ports=[0, 1], timeout=(duration+30)) # read the stats after the test stats = c.get_stats()