Skip to content

Commit

Permalink
Add another chunk case
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLittleMods committed Jul 23, 2021
1 parent 829839f commit d14c166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/msc2716_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,8 @@ func TestBackfillingHistory(t *testing.T) {
historicalEventIDs := getEventsFromBatchSendResponseBody(t, batchSendResBody)
baseInsertionEventID := historicalEventIDs[len(historicalEventIDs)-1]

// [1 insertion event + 2 historical events + 1 insertion event]
if len(historicalEventIDs) != 4 {
// [1 insertion event + 2 historical events + 1 chunk event + 1 insertion event]
if len(historicalEventIDs) != 5 {
t.Fatalf("Expected eventID list should be length 15 but saw %d: %s", len(historicalEventIDs), historicalEventIDs)
}

Expand Down

0 comments on commit d14c166

Please sign in to comment.