File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 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) {
142142 // Order events from newest to oldest
143143 expectedEventIDOrder = reversed (expectedEventIDOrder )
144144
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
146147 if len (expectedEventIDOrder ) != 13 {
147148 t .Fatalf ("Expected eventID list should be length 13 but saw %d: %s" , len (expectedEventIDOrder ), expectedEventIDOrder )
148149 }
@@ -519,7 +520,7 @@ func TestBackfillingHistory(t *testing.T) {
519520 historicalEventIDs := getEventsFromBatchSendResponseBody (t , batchSendResBody )
520521 baseInsertionEventID := historicalEventIDs [len (historicalEventIDs )- 1 ]
521522
522- // 2 historical events + 2 insertion events
523+ // [1 insertion event + 2 historical events + 1 insertion event]
523524 if len (historicalEventIDs ) != 4 {
524525 t .Fatalf ("Expected eventID list should be length 15 but saw %d: %s" , len (historicalEventIDs ), historicalEventIDs )
525526 }
You can’t perform that action at this time.
0 commit comments