Skip to content

Commit

Permalink
rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
geoknee committed Aug 30, 2024
1 parent 6fafbe4 commit b8ba6a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ validate CHAIN_ID:

# Run genesis validation (this is separated from other validation checks, because it is not a part of drift detection)
validate-genesis CHAIN_ID:
TEST_DIRECTORY=./validation/genesis go run gotest.tools/gotestsum@latest --format standard-verbose -- -run='TestGenesisPredeploys/.+\({{CHAIN_ID}}\)$' -timeout 0
TEST_DIRECTORY=./validation/genesis go run gotest.tools/gotestsum@latest --format standard-verbose -- -run='TestGenesisAllocs/.+\({{CHAIN_ID}}\)$' -timeout 0

promotion-test:
TEST_DIRECTORY=./validation go run gotest.tools/gotestsum@latest --format dots -- -run Promotion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,18 @@ func TestMain(m *testing.M) {
os.Exit(exitVal)
}

func TestGenesisPredeploys(t *testing.T) {
func TestGenesisAllocs(t *testing.T) {
for _, chain := range OPChains {
if chain.SuperchainLevel == Standard || chain.StandardChainCandidate {
t.Run(PerChainTestName(chain), func(t *testing.T) {
// Do not run in parallel
testGenesisPredeploys(t, chain)
testGenesisAllocs(t, chain)
})
}
}
}

func testGenesisPredeploys(t *testing.T, chain *ChainConfig) {
func testGenesisAllocs(t *testing.T, chain *ChainConfig) {
chainId := chain.ChainID
vis, ok := ValidationInputs[chainId]

Expand Down

0 comments on commit b8ba6a4

Please sign in to comment.