Discard error returned by os.RemoveAll() when pruning test dirs (#4264)
This commit is contained in:
parent
df362ff3e6
commit
67ab0b1e1d
|
@ -353,7 +353,7 @@ func InitializeTestLCD(t *testing.T, nValidators int, initAddrs []sdk.AccAddress
|
||||||
node.Stop() //nolint:errcheck
|
node.Stop() //nolint:errcheck
|
||||||
node.Wait()
|
node.Wait()
|
||||||
lcd.Close()
|
lcd.Close()
|
||||||
require.NoError(t, os.RemoveAll(config.RootDir))
|
os.RemoveAll(config.RootDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
return cleanup, valConsPubKeys, valOperAddrs, port
|
return cleanup, valConsPubKeys, valOperAddrs, port
|
||||||
|
|
Loading…
Reference in New Issue