Merge pull request #1389 from ipfs/fix/db-close-tests
Fix: tests: close datastore on cluster node shutdown.
This commit is contained in:
commit
ce2490c64f
|
@ -423,6 +423,7 @@ func shutdownCluster(t *testing.T, c *Cluster, m *test.IpfsMock) {
|
|||
}
|
||||
c.dht.Close()
|
||||
c.host.Close()
|
||||
c.datastore.Close()
|
||||
m.Close()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user