Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rallen090 committed Nov 27, 2020
1 parent b22e4b1 commit 7d0894d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dbnode/integration/index_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type TestIndexWrites []TestIndexWrite
func (w TestIndexWrites) MatchesSeriesIters(t *testing.T, seriesIters encoding.SeriesIterators) {
writesByID := make(map[string]TestIndexWrites)
for _, wi := range w {
writesByID[wi.id.String()] = append(writesByID[wi.ID.String()], wi)
writesByID[wi.ID.String()] = append(writesByID[wi.ID.String()], wi)
}
require.Equal(t, len(writesByID), seriesIters.Len())
iters := seriesIters.Iters()
Expand Down Expand Up @@ -143,7 +143,7 @@ func GenerateTestIndexWrite(periodID, numWrites, numTags int, startTime, endTime
step := endTime.Sub(startTime) / time.Duration(numWrites+1)
for i := 0; i < numWrites; i++ {
id, tags := genIDTags(periodID, i, numTags)
writes = append(writes, testIndexWrite{
writes = append(writes, TestIndexWrite{
ID: id,
Tags: tags,
Timestamp: startTime.Add(time.Duration(i) * step).Truncate(time.Second),
Expand Down

0 comments on commit 7d0894d

Please sign in to comment.