fix(tsdb): MaxSeriesPerDatabase is only supported by the inmem index
parent
56e27b8893
commit
a29ec693df
|
@ -166,6 +166,7 @@ func TestMaxSeriesLimit(t *testing.T) {
|
|||
opts.Config.WALDir = filepath.Join(tmpDir, "wal")
|
||||
opts.Config.MaxSeriesPerDatabase = 1000
|
||||
opts.InmemIndex = inmem.NewIndex(filepath.Base(tmpDir), sfile.SeriesFile)
|
||||
opts.IndexVersion = tsdb.InmemIndexName
|
||||
|
||||
sh := tsdb.NewShard(1, tmpShard, tmpWal, sfile.SeriesFile, opts)
|
||||
|
||||
|
|
Loading…
Reference in New Issue