Fix storage test

This commit is contained in:
Fabian Reinartz 2015-05-20 16:12:07 +02:00
parent 8c1c840429
commit f59a449a24

View file

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