diff --git a/integration/integration_test.go b/integration/integration_test.go index 03fe2a1..bacecc6 100644 --- a/integration/integration_test.go +++ b/integration/integration_test.go @@ -139,6 +139,8 @@ func mustCreateAndInitialiseStorage(ctx context.Context, t *testing.T, root stri if err != nil { t.Fatalf("Create = %v", err) } - InitialiseStorage(ctx, t, st) + if err := InitialiseStorage(ctx, t, st); err != nil { + t.Fatalf("InitialiseStorage = %v", err) + } return st }