From 6b6c4d1c2754f8dd70172ab58d7ee33cf9058c7d Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Mon, 19 Nov 2018 14:57:22 +0100 Subject: cmd/swarm: speed up tests - use global cluster (#18129) --- cmd/swarm/fs_test.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cmd/swarm/fs_test.go') diff --git a/cmd/swarm/fs_test.go b/cmd/swarm/fs_test.go index 3b722515e..ac4223b66 100644 --- a/cmd/swarm/fs_test.go +++ b/cmd/swarm/fs_test.go @@ -29,14 +29,8 @@ import ( "time" "github.com/ethereum/go-ethereum/log" - colorable "github.com/mattn/go-colorable" ) -func init() { - log.PrintOrigins(true) - log.Root().SetHandler(log.LvlFilterHandler(log.Lvl(*loglevel), log.StreamHandler(colorable.NewColorableStderr(), log.TerminalFormat(true)))) -} - type testFile struct { filePath string content string -- cgit v1.2.3