From 0753eb331f3f0acf67d06513b4584418294a30be Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Fri, 11 Sep 2020 16:31:56 +0200 Subject: [PATCH] [INTERNAL] package.json: Increase test timeout to 1 minute (xunit only) Hopefully this will reduce the number of random failures on Windows on Azure. Presumably they are caused by some sort of timeout within AVA. Related: https://github.com/SAP/ui5-builder/pull/510 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 69c0b1b3e..1888a80f4 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "unit-verbose": "rimraf test/tmp && cross-env UI5_LOG_LVL=verbose ava --verbose --serial", "unit-watch": "rimraf test/tmp && ava --watch", "unit-nyan": "rimraf test/tmp && ava --tap | tnyan", - "unit-xunit": "rimraf test/tmp && ava --tap | tap-xunit --dontUseCommentsAsTestNames=true > test-results.xml", + "unit-xunit": "rimraf test/tmp && ava --tap --timeout=1m | tap-xunit --dontUseCommentsAsTestNames=true > test-results.xml", "unit-inspect": "cross-env UI5_LOG_LVL=verbose node --inspect-brk node_modules/ava/profile.js", "coverage": "nyc npm run unit", "coverage-xunit": "nyc --reporter=text --reporter=text-summary --reporter=cobertura npm run unit-xunit",