Browse Source

Fix storage test

pull/709/head
Fabian Reinartz 10 years ago
parent
commit
f59a449a24
  1. 3
      storage/local/storage_test.go

3
storage/local/storage_test.go

@ -164,10 +164,9 @@ func TestLoop(t *testing.T) {
SyncStrategy: Adaptive, SyncStrategy: Adaptive,
} }
storage := NewMemorySeriesStorage(o) storage := NewMemorySeriesStorage(o)
if err := storage.Start; err != nil { if err := storage.Start(); err != nil {
t.Fatalf("Error starting storage: %s", err) t.Fatalf("Error starting storage: %s", err)
} }
storage.Start()
for _, s := range samples { for _, s := range samples {
storage.Append(s) storage.Append(s)
} }

Loading…
Cancel
Save