Skip to content

Commit

Permalink
Discard error returned by os.RemoveAll() when pruning test dirs (#4264)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessio Treglia authored May 3, 2019
1 parent df362ff commit 67ab0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gaia/lcd_test/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func InitializeTestLCD(t *testing.T, nValidators int, initAddrs []sdk.AccAddress
node.Stop() //nolint:errcheck
node.Wait()
lcd.Close()
require.NoError(t, os.RemoveAll(config.RootDir))
os.RemoveAll(config.RootDir)
}

return cleanup, valConsPubKeys, valOperAddrs, port
Expand Down

0 comments on commit 67ab0b1

Please sign in to comment.