File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
AcceptanceTest/definitions/server/fix44 Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # issue 309
2+ # When a GapFill skips over seqnos past the ExpectedNextTargetSeqNum,
3+ # the engine needs to skip with it.
4+
5+ iCONNECT
6+ I8=FIX.4.435=A34=149=TW52=<TIME>56=ISLD98=0108=2
7+ E8=FIX.4.435=A34=149=ISLD52=00000000-00:00:00.00056=TW98=0108=210=0
8+
9+ # News msg to bump the seq up
10+ I8=FIX.4.435=B34=249=TW52=<TIME>56=ISLD148=no_echo33=0
11+
12+ # Heartbeat with seq 5 (when 3 is expected)
13+ I8=FIX.4.435=034=549=TW52=<TIME>56=ISLD
14+
15+ # Expect ResendRequest for 3+
16+ E8=FIX.4.435=234=249=ISLD52=00000000-00:00:00.00056=TW7=316=010=0
17+
18+ # Resend 3 and 4
19+ I8=FIX.4.435=B34=343=Y49=TW52=<TIME>56=ISLD148=no_echo33=0
20+ I8=FIX.4.435=B34=443=Y49=TW52=<TIME>56=ISLD148=no_echo33=0
21+ sleep(0.2)
22+
23+ # Session now processes the Heartbeat (seq=5) from its queue
24+ E8=FIX.4.435=034=349=ISLD52=00000000-00:00:00.00056=TW10=0
25+
26+ # Counterparty is still resending - it is on 5 now.
27+ # 5 is that heartbeat, an admin msg, so send a GapFill instead.
28+ # The EndSeqNo is 7, completely skipping over 6.
29+ I8=FIX.4.435=434=549=TW52=<TIME>56=ISLD43=Y122=<TIME-1>36=7123=Y
30+
31+ # Ensure that client obeyed the SequenceReset and set NextExpected=7
32+ I8=FIX.4.435=B34=749=TW52=<TIME>56=ISLD148=foo33=0
33+ E8=FIX.4.435=B34=449=ISLD52=00000000-00:00:00.00056=TW33=0148=foo
You can’t perform that action at this time.
0 commit comments