remove the extra stop

This commit is contained in:
Linhai Song
2021-12-17 20:03:19 -05:00
parent 0098dbf350
commit 5e8f50bb09

View File

@@ -37,7 +37,6 @@ func TestWatch(t *testing.T) {
defer func() {
b.Close()
s.Close()
s.store.Close()
os.Remove(tmpPath)
}()
@@ -540,7 +539,6 @@ func TestWatchVictims(t *testing.T) {
defer func() {
b.Close()
s.Close()
s.store.Close()
os.Remove(tmpPath)
chanBufLen, maxWatchersPerSync = oldChanBufLen, oldMaxWatchersPerSync
}()