chainntfns: stop neutrino service before closing DB in interface_test.go
This commit is contained in:
1 parent
9a02884d0b
commit
db55569bac
1 file changed
+1
-1
@@ -1423,8 +1423,8 @@ func TestInterfaces(t *testing.T) {
|
|||||||
spvNode.Start()
|
spvNode.Start()
|
||||||
|
|
||||||
cleanUp = func() {
|
cleanUp = func() {
|
||||||
spvDatabase.Close()
|
|
||||||
spvNode.Stop()
|
spvNode.Stop()
|
||||||
|
spvDatabase.Close()
|
||||||
os.RemoveAll(spvDir)
|
os.RemoveAll(spvDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user