From ba863966ad69f46e344c794f48c90b0bd160668f Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Fri, 5 Aug 2022 12:57:57 +0200 Subject: [PATCH] Increased integration test threshold - this is only a temporary fix until we have time to go and investigate some performance issues in the tests - we keep seeing random failures due to timeouts in the integration tests, and it's incredibly distracting --- ghost/core/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/core/package.json b/ghost/core/package.json index be07a0575c..cc83be8f9e 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -31,7 +31,7 @@ "test:debug": "DEBUG=ghost:test* yarn test", "test:unit": "c8 yarn test:unit:base", "test:unit:base": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/unit' --timeout=2000", - "test:integration": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/integration' --timeout=5000", + "test:integration": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/integration' --timeout=10000", "test:e2e": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/e2e-api' './test/e2e-frontend' './test/e2e-server' './test/e2e-webhooks' --timeout=15000", "test:regression": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/regression' --timeout=60000", "test:browser": "playwright test --browser=all test/e2e-browser",