mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
af5b9222da
* unskip on a single shard * Merge branch 'master' into unskip-block-list-test * fixes incorrect test state modification * Merge branch 'master' into unskip-block-list-test * minor formatting * Merge branch 'unskip-block-list-test' of github.com:prysmaticlabs/prysm into unskip-block-list-test * set sharding back to 4 * Merge refs/heads/master into unskip-block-list-test * Merge refs/heads/master into unskip-block-list-test * Merge refs/heads/master into unskip-block-list-test
21 lines
405 B
Go
21 lines
405 B
Go
package beacon
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/prysmaticlabs/prysm/beacon-chain/flags"
|
|
"github.com/prysmaticlabs/prysm/shared/params"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
// Use minimal config to reduce test setup time.
|
|
reset := params.OverrideBeaconConfigWithReset(params.MinimalSpecConfig())
|
|
flags.Init(&flags.GlobalFlags{
|
|
MaxPageSize: 250,
|
|
})
|
|
retVal := m.Run()
|
|
reset()
|
|
os.Exit(retVal)
|
|
}
|