mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
Fix storage test
This commit is contained in:
parent
8c1c840429
commit
f59a449a24
|
@ -164,10 +164,9 @@ func TestLoop(t *testing.T) {
|
|||
SyncStrategy: Adaptive,
|
||||
}
|
||||
storage := NewMemorySeriesStorage(o)
|
||||
if err := storage.Start; err != nil {
|
||||
if err := storage.Start(); err != nil {
|
||||
t.Fatalf("Error starting storage: %s", err)
|
||||
}
|
||||
storage.Start()
|
||||
for _, s := range samples {
|
||||
storage.Append(s)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue