From 6da630c3311e1a849ee28c0d1d2e1ccbd82f3356 Mon Sep 17 00:00:00 2001 From: Elad Date: Fri, 10 May 2019 20:05:13 +0400 Subject: [PATCH] cmd/swarm: skip export test until underlying issue is fixed --- cmd/swarm/export_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/swarm/export_test.go b/cmd/swarm/export_test.go index 19e54c21dd..ca82cfd4c9 100644 --- a/cmd/swarm/export_test.go +++ b/cmd/swarm/export_test.go @@ -123,6 +123,9 @@ func TestCLISwarmExportImport(t *testing.T) { // 5. import the dump // 6. file should be accessible func TestExportLegacyToNew(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip() // this should be reenabled once the appveyor tests underlying issue is fixed + } /* fixture bzz account 0aa159029fa13ffa8fa1c6fff6ebceface99d6a4 */ @@ -170,7 +173,7 @@ func TestExportLegacyToNew(t *testing.T) { if stat.Size() < 90000 { t.Fatal("export size too small") } - t.Log("removing chunk datadir") + log.Info("removing chunk datadir") err = os.RemoveAll(path.Join(actualDataDir, "chunks")) if err != nil { t.Fatal(err) @@ -276,6 +279,7 @@ func inflateBase64Gzip(t *testing.T, base64File, directory string) { if _, err := io.Copy(file, tarReader); err != nil { t.Fatal(err) } + file.Close() default: t.Fatal("shouldn't happen") }