mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
f461f586a1
* refactors global variables from sync * gazelle * Merge branch 'master' into sync-remove-globals * better spacing * Merge branch 'sync-remove-globals' of github.com:prysmaticlabs/prysm into sync-remove-globals * Merge branch 'master' into sync-remove-globals
23 lines
366 B
Go
23 lines
366 B
Go
package sync
|
|
|
|
import (
|
|
"io/ioutil"
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/beacon-chain/flags"
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
logrus.SetLevel(logrus.DebugLevel)
|
|
logrus.SetOutput(ioutil.Discard)
|
|
|
|
flags.Init(&flags.GlobalFlags{
|
|
BlockBatchLimit: 64,
|
|
BlockBatchLimitBurstFactor: 10,
|
|
})
|
|
|
|
os.Exit(m.Run())
|
|
}
|