Skip to content

Commit bd4b77b

Browse files
authored
[Test] Reduce some live tests time out limit (Azure#20394)
- Service Bus and Event Hubs live tests used to take much longer time to run but we have improved significantly since then. - AppConfig live tests usually finish under 30 minutes.
1 parent af3834e commit bd4b77b

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

sdk/appconfiguration/app-configuration/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ stages:
55
parameters:
66
PackageName: "@azure/app-configuration"
77
ServiceDirectory: appconfiguration
8-
TimeoutInMinutes: 200
98
SupportedClouds: 'Public,UsGov,China'
109
EnvVars:
1110
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)

sdk/eventhub/event-hubs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
6161
"generate-certs": "node ./scripts/generateCerts.js",
6262
"integration-test:browser": "cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true karma start --single-run",
63-
"integration-test:node": "cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"dist-esm/test/internal/*.spec.js\" \"dist-esm/test/public/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\" \"dist-esm/test/internal/**/*.spec.js\"",
63+
"integration-test:node": "cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 600000 --full-trace \"dist-esm/test/internal/*.spec.js\" \"dist-esm/test/public/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\" \"dist-esm/test/internal/**/*.spec.js\"",
6464
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
6565
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
6666
"lint": "eslint package.json api-extractor.json src test --ext .ts",

sdk/servicebus/service-bus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"extract-api": "tsc -p . && api-extractor run --local",
6161
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"samples/**/*.{ts,js}\" \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
6262
"integration-test:browser": "karma start --single-run",
63-
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"dist-esm/test/internal/**/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\"",
63+
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 600000 --full-trace \"dist-esm/test/internal/**/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\"",
6464
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
6565
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
6666
"lint": "eslint package.json api-extractor.json src test --ext .ts",

sdk/servicebus/service-bus/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ stages:
55
parameters:
66
PackageName: "@azure/service-bus"
77
ServiceDirectory: servicebus
8-
TimeoutInMinutes: 180
8+
TimeoutInMinutes: 90
99
Clouds: 'Public,Canary'
1010
SupportedClouds: 'Public,UsGov,China'
1111
EnvVars:

0 commit comments

Comments
 (0)