@@ -85,7 +85,7 @@ func TestContent(t *testing.T) {
|
||||
func TestContentWriter(t *testing.T) {
|
||||
ctx, tmpdir, cs, cleanup := contentStoreEnv(t)
|
||||
defer cleanup()
|
||||
defer testutil.DumpDir(t, tmpdir)
|
||||
defer testutil.DumpDirOnFailure(t, tmpdir)
|
||||
|
||||
if _, err := os.Stat(filepath.Join(tmpdir, "ingest")); os.IsNotExist(err) {
|
||||
t.Fatal("ingest dir should be created", err)
|
||||
|
@@ -47,7 +47,7 @@ func makeTest(t *testing.T, name string, storeFn func(ctx context.Context, root
|
||||
}
|
||||
}()
|
||||
|
||||
defer testutil.DumpDir(t, tmpDir)
|
||||
defer testutil.DumpDirOnFailure(t, tmpDir)
|
||||
fn(ctx, t, cs)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user