Skip to content

Commit

Permalink
Added CM & IG Timeout enforced tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bolt12 committed Apr 21, 2022
1 parent a7f077c commit 21b194f
Show file tree
Hide file tree
Showing 2 changed files with 318 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2285,14 +2285,11 @@ prop_timeouts_enforced serverAcc (ArbDataFlow dataFlow)
verifyTimeouts st@(Just (state, t')) ((t, TransitionTrace _ tt@(Transition _ to)):xs) =
let newState = Just (to, t)
idleTimeout =
tProtocolIdleTimeout simTimeouts
+ (0.1 * tProtocolIdleTimeout simTimeouts)
1.1 * tProtocolIdleTimeout simTimeouts
outboundTimeout =
tOutboundIdleTimeout simTimeouts
+ (0.1 * tOutboundIdleTimeout simTimeouts)
1.1 * tOutboundIdleTimeout simTimeouts
timeWaitTimeout =
tTimeWaitTimeout simTimeouts
+ (0.1 * tTimeWaitTimeout simTimeouts)
1.1 * tTimeWaitTimeout simTimeouts
handshakeTimeout = case timeLimitsHandshake of
(ProtocolTimeLimits stLimit) ->
-- Should be the same but we bias to the shorter one
Expand Down
Loading

0 comments on commit 21b194f

Please sign in to comment.