prysm-pulse/beacon-chain/rpc/beacon/beacon_test.go
Victor Farazdagi af5b9222da
Re-enable skipped block list paging unit test (#5691)
* 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
2020-05-02 04:03:50 +00:00

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)
}