mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-05 08:02:13 +00:00
Actually remove test file after test run
This commit is contained in:
parent
e6558832bf
commit
74c39c677b
@ -393,7 +393,7 @@ func TestDeregisterOnFailInCopy(t *testing.T) {
|
|||||||
blocks[5], blocks[0], blocks[0], blocks[8],
|
blocks[5], blocks[0], blocks[0], blocks[8],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
defer os.Remove(defTempNamer.TempName("filex"))
|
defer os.Remove("testdata/" + defTempNamer.TempName("filex"))
|
||||||
|
|
||||||
db, _ := leveldb.Open(storage.NewMemStorage(), nil)
|
db, _ := leveldb.Open(storage.NewMemStorage(), nil)
|
||||||
cw := config.Wrap("/tmp/test", config.Configuration{})
|
cw := config.Wrap("/tmp/test", config.Configuration{})
|
||||||
@ -481,7 +481,7 @@ func TestDeregisterOnFailInPull(t *testing.T) {
|
|||||||
blocks[5], blocks[0], blocks[0], blocks[8],
|
blocks[5], blocks[0], blocks[0], blocks[8],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
defer os.Remove(defTempNamer.TempName("filex"))
|
defer os.Remove("testdata/" + defTempNamer.TempName("filex"))
|
||||||
|
|
||||||
db, _ := leveldb.Open(storage.NewMemStorage(), nil)
|
db, _ := leveldb.Open(storage.NewMemStorage(), nil)
|
||||||
cw := config.Wrap("/tmp/test", config.Configuration{})
|
cw := config.Wrap("/tmp/test", config.Configuration{})
|
||||||
|
Loading…
Reference in New Issue
Block a user