@@ -604,13 +604,13 @@ def ClientServerExpectedFailureTest( server_extra_args=[], client_extra_args=[],
604604 # on 'udp' (direct srflx path).
605605 #
606606 # Spurious-failure analysis (at the time of this writing):
607- # Each STUN round trip succeeds with P = 0.8 * 0.8 = 0.64 under 20 % outbound
607+ # Each STUN round trip succeeds with P = 0.9 * 0.9 = 0.81 under 10 % outbound
608608 # loss per side. The request schedule is 5 total sends (1 initial + 4 retx).
609- # P(all 5 fail) = 0.36 ^5 ~= 0.6%. Triggered checks from the remote side add
610- # extra attempts, so the real spurious-failure rate is somewhat below 0.6% .
611- ( 'full-cone NAT, 20 % packet loss' ,
612- [ '--mock-loss' , '20 ' ] + _nat ( _SRV_INT , _SRV_GW , 'full-cone' ),
613- [ '--mock-loss' , '20 ' ] + _nat ( _CLI_INT , _CLI_GW , 'full-cone' ),
609+ # P(all 5 fail) = 0.19 ^5 ~= 0.025% (~1 in 4000 runs). Triggered checks from
610+ # the remote side add extra attempts, so the real rate is lower still .
611+ ( 'full-cone NAT, 10 % packet loss' ,
612+ [ '--mock-loss' , '10 ' ] + _nat ( _SRV_INT , _SRV_GW , 'full-cone' ),
613+ [ '--mock-loss' , '10 ' ] + _nat ( _CLI_INT , _CLI_GW , 'full-cone' ),
614614 'udp' , 1 , _CTR_DIRECT , None ),
615615
616616 # Signaling impairment: verify connection succeeds despite lossy or duplicate
0 commit comments