Merge pull request #1389 from ipfs/fix/db-close-tests

Fix: tests: close datastore on cluster node shutdown.
This commit is contained in:
Hector Sanjuan 2021-07-06 14:05:36 +02:00 committed by GitHub
commit ce2490c64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
}