diff --git a/storage/local/storage_test.go b/storage/local/storage_test.go index 16ec17b01..b521c8f2a 100644 --- a/storage/local/storage_test.go +++ b/storage/local/storage_test.go @@ -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) }