cmd/swarm: speed up tests - use global cluster (#18129)

This commit is contained in:
Anton Evangelatov
2018-11-19 14:57:22 +01:00
committed by GitHub
parent 3333fe660f
commit 6b6c4d1c27
6 changed files with 106 additions and 97 deletions

View File

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