Fix: tests: close datastore on cluster node shutdown.
This resulted in too-many-files-open when running with leveldb.
This commit is contained in:
parent
f7a2e4a3fc
commit
8ce98ceae3
|
@ -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