From 67ab0b1e1d1e5b898c8cbdede35ad5196dba01b2 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Fri, 3 May 2019 17:08:34 +0100 Subject: [PATCH] Discard error returned by os.RemoveAll() when pruning test dirs (#4264) --- cmd/gaia/lcd_test/helpers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gaia/lcd_test/helpers_test.go b/cmd/gaia/lcd_test/helpers_test.go index 811521098fda..a80e7b2c055e 100644 --- a/cmd/gaia/lcd_test/helpers_test.go +++ b/cmd/gaia/lcd_test/helpers_test.go @@ -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