Fix broken unit tests after function signature change (#9848)

pull/9855/head
Jacob Marble 2018-05-15 16:22:24 -07:00 committed by GitHub
parent 8838d284a5
commit 2dde4e6174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ func TestIndexSet_DedupeInmemIndexes(t *testing.T) {
opts.InmemIndex = inmem.NewIndex("db", sfile.SeriesFile)
for i := 0; i < testCase.inmem1N; i++ {
indexes = append(indexes, inmem.NewShardIndex(uint64(i), "", "", tsdb.NewSeriesIDSet(), sfile.SeriesFile, opts))
indexes = append(indexes, inmem.NewShardIndex(uint64(i), tsdb.NewSeriesIDSet(), opts))
}
}
if testCase.inmem2N > 0 {
@ -174,7 +174,7 @@ func TestIndexSet_DedupeInmemIndexes(t *testing.T) {
opts.InmemIndex = inmem.NewIndex("db", sfile.SeriesFile)
for i := 0; i < testCase.inmem2N; i++ {
indexes = append(indexes, inmem.NewShardIndex(uint64(i), "", "", tsdb.NewSeriesIDSet(), sfile.SeriesFile, opts))
indexes = append(indexes, inmem.NewShardIndex(uint64(i), tsdb.NewSeriesIDSet(), opts))
}
}