File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,8 @@ func TestBackfillingHistory(t *testing.T) {
142
142
// Order events from newest to oldest
143
143
expectedEventIDOrder = reversed (expectedEventIDOrder )
144
144
145
- // 2 eventIDsBefore + 6 historical events + 3 insertion events + 2 eventIDsAfter
145
+ // 2 eventIDsBefore + [1 insertion event + 2 historical events + 1 insertion event] + [2 historical events + 1 insertion event] + 2 eventIDsAfter
146
+ // ^ chunk1 ^ chunk2
146
147
if len (expectedEventIDOrder ) != 13 {
147
148
t .Fatalf ("Expected eventID list should be length 13 but saw %d: %s" , len (expectedEventIDOrder ), expectedEventIDOrder )
148
149
}
@@ -519,7 +520,7 @@ func TestBackfillingHistory(t *testing.T) {
519
520
historicalEventIDs := getEventsFromBatchSendResponseBody (t , batchSendResBody )
520
521
baseInsertionEventID := historicalEventIDs [len (historicalEventIDs )- 1 ]
521
522
522
- // 2 historical events + 2 insertion events
523
+ // [1 insertion event + 2 historical events + 1 insertion event]
523
524
if len (historicalEventIDs ) != 4 {
524
525
t .Fatalf ("Expected eventID list should be length 15 but saw %d: %s" , len (historicalEventIDs ), historicalEventIDs )
525
526
}
You can’t perform that action at this time.
0 commit comments