Discard error returned by os.RemoveAll() when pruning test dirs (#4264)

This commit is contained in:
Alessio Treglia 2019-05-03 17:08:34 +01:00 committed by GitHub
parent df362ff3e6
commit 67ab0b1e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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