From e8c0eb186ea86fe6350c0379a439c6166e5a922e Mon Sep 17 00:00:00 2001 From: Conner Gallagher Date: Mon, 12 Dec 2022 16:28:02 -0700 Subject: [PATCH] solana.js: increase localnet validator timeout for gh action --- javascript/solana.js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/solana.js/package.json b/javascript/solana.js/package.json index 6f03462..809e7b9 100644 --- a/javascript/solana.js/package.json +++ b/javascript/solana.js/package.json @@ -46,7 +46,7 @@ "pretest": "npm run build", "test": "node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 10000", "test:localnet": "SOLANA_LOCALNET=1 node ./node_modules/mocha/bin/mocha --loader=ts-node/esm --extension ts --timeout 10000", - "localnet:up": "npm run local:validator & sleep 15 && npm run test:localnet; kill -9 $(pgrep command solana-test-validator) || exit 0", + "localnet:up": "npm run local:validator & sleep 20 && npm run test:localnet; kill -9 $(pgrep command solana-test-validator) || exit 0", "posttest": "npm run lint", "prepublishOnly": "shx rm -rf lib && npm run build && npm version patch", "docs": "typedoc src/index.ts --githubPages --cleanOutputDir",