Merge pull request #709 from prometheus/fabxc/storage_test_fix

Fix storage test
This commit is contained in:
Björn Rabenstein 2015-05-20 16:13:15 +02:00
commit 6586b15367
1 changed files with 1 additions and 2 deletions

View File

@ -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)
} }