Skip to content

Commit

Permalink
Reduce abuse on public servers
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 authored and polybassa committed Sep 23, 2024
1 parent fe18823 commit 2972bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/regression.uts
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,7 @@ retry_test(_test)
~ netaccess needs_root IP ICMP
def _test():
packet = IP(dst="8.8.8.8")/ICMP()
r = srflood(packet, timeout=2)
r = srflood(packet, timeout=0.5)
assert packet.sent_time is not None

retry_test(_test)
Expand All @@ -2142,7 +2142,7 @@ retry_test(_test)
def _test():
packet1 = IP(dst="8.8.8.8")/ICMP()
packet2 = IP(dst="8.8.4.4")/ICMP()
r = srflood([packet1, packet2], timeout=2)
r = srflood([packet1, packet2], timeout=0.5)
assert packet1.sent_time is not None
assert packet2.sent_time is not None

Expand Down

0 comments on commit 2972bda

Please sign in to comment.