Skip to content

Commit d1735f0

Browse files
committed
fix: increase startup_wait to 300s for all validator-clone projects
Projects that clone programs from mainnet/devnet (especially Metaplex Token Metadata) need much longer startup times in CI. 120s and 180s both hit the timeout exactly. 300s (5 min) should give enough headroom for slow network conditions in GitHub Actions runners.
1 parent 70a2ffe commit d1735f0

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

tokens/create-token/anchor/Anchor.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
2222
# The validator tests need Metaplex Token Metadata cloned from mainnet.
2323
# startup_wait is high because cloning from mainnet is slow in CI.
2424
[test]
25-
startup_wait = 120000
25+
startup_wait = 300000
2626
shutdown_wait = 2000
2727
upgradeable = false
2828

tokens/nft-minter/anchor/Anchor.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
2323
# The validator tests need Metaplex Token Metadata cloned from mainnet.
2424
# startup_wait is high because cloning from mainnet is slow in CI.
2525
[test]
26-
startup_wait = 120000
26+
startup_wait = 300000
2727
shutdown_wait = 2000
2828
upgradeable = false
2929

tokens/nft-operations/anchor/Anchor.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ wallet = "~/.config/solana/id.json"
2222
# The validator tests need Metaplex Token Metadata cloned from mainnet.
2323
# startup_wait is high because cloning from mainnet is slow in CI.
2424
[test]
25-
startup_wait = 120000
25+
startup_wait = 300000
2626

2727
[scripts]
2828
test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"

tokens/pda-mint-authority/anchor/Anchor.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
2222
# The validator tests need Metaplex Token Metadata cloned from mainnet.
2323
# startup_wait is high because cloning from mainnet is slow in CI.
2424
[test]
25-
startup_wait = 120000
25+
startup_wait = 300000
2626
shutdown_wait = 2000
2727
upgradeable = false
2828

tokens/spl-token-minter/anchor/Anchor.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
2222
# The validator tests need Metaplex Token Metadata cloned from mainnet.
2323
# startup_wait is high because cloning from mainnet is slow in CI.
2424
[test]
25-
startup_wait = 120000
25+
startup_wait = 300000
2626
shutdown_wait = 2000
2727
upgradeable = false
2828

tokens/token-2022/transfer-hook/hello-world/anchor/Anchor.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ wallet = "~/.config/solana/id.json"
1919
test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
2020

2121
# Tests use the real local validator (not bankrun) because transfer-hook
22-
# tests need the actual validator runtime. startup_wait is 180s because the
22+
# tests need the actual validator runtime. startup_wait is 300s (5 min) because the
2323
# validator clones programs from devnet which can be very slow in CI
24-
# (120s hit the timeout exactly).
24+
# (shorter timeouts hit the limit in CI).
2525
[test]
26-
startup_wait = 180000
26+
startup_wait = 300000
2727
shutdown_wait = 2000
2828
upgradeable = false
2929

tokens/token-2022/transfer-hook/whitelist/anchor/Anchor.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ cluster = "Localnet"
1616
wallet = "~/.config/solana/id.json"
1717

1818
# Tests use the real local validator (not bankrun) because transfer-hook
19-
# tests need the actual validator runtime. startup_wait is 180s because the
19+
# tests need the actual validator runtime. startup_wait is 300s (5 min) because the
2020
# validator clones programs from devnet which can be very slow in CI
21-
# (120s wasn't enough — hit timeout exactly).
21+
# (shorter timeouts hit the limit in CI).
2222
[test]
23-
startup_wait = 180000
23+
startup_wait = 300000
2424

2525
[scripts]
2626
test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"

tokens/transfer-tokens/anchor/Anchor.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test = "pnpm ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
2222
# (test.ts). The validator tests need Metaplex Token Metadata cloned from
2323
# mainnet. startup_wait is high because cloning from mainnet is slow in CI.
2424
[test]
25-
startup_wait = 120000
25+
startup_wait = 300000
2626
shutdown_wait = 2000
2727
upgradeable = false
2828

0 commit comments

Comments
 (0)