"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tsdb/index/index_test.go" between
prometheus-2.15.1.tar.gz and prometheus-2.15.2.tar.gz

About: Prometheus is a monitoring system, alerting toolkit and time series database.

index_test.go  (prometheus-2.15.1):index_test.go  (prometheus-2.15.2)
skipping to change at line 283 skipping to change at line 283
testutil.Ok(t, iw.AddSymbol(s)) testutil.Ok(t, iw.AddSymbol(s))
} }
for i, s := range series { for i, s := range series {
testutil.Ok(t, iw.AddSeries(uint64(i), s)) testutil.Ok(t, iw.AddSeries(uint64(i), s))
} }
testutil.Ok(t, iw.Close()) testutil.Ok(t, iw.Close())
ir, err := NewFileReader(fn) ir, err := NewFileReader(fn)
testutil.Ok(t, err) testutil.Ok(t, err)
defer func() { testutil.Ok(t, ir.Close()) }()
cases := []struct { cases := []struct {
in []string in []string
}{ }{
// Simple cases, everything is present. // Simple cases, everything is present.
{in: []string{"002"}}, {in: []string{"002"}},
{in: []string{"031", "032", "033"}}, {in: []string{"031", "032", "033"}},
{in: []string{"032", "033"}}, {in: []string{"032", "033"}},
{in: []string{"127", "128"}}, {in: []string{"127", "128"}},
{in: []string{"127", "128", "129"}}, {in: []string{"127", "128", "129"}},
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)