Skip to content

Commit 536e1d2

Browse files
Documenting change in timeout param (DataDog#8111)
1 parent 7eae873 commit 536e1d2

File tree

1 file changed

+8
-7
lines changed
  • content/en/synthetics

1 file changed

+8
-7
lines changed

content/en/synthetics/ci.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ To setup your client, Datadog API and application keys need to be configured. Th
310310
* **global**: Overrides of synthetics tests applied to all tests ([see below for description of each field](#configure-tests)).
311311
* **proxy**: The proxy to be used for outgoing connections to Datadog. `host` and `port` keys are mandatory arguments, `protocol` key defaults to `http`. Supported values for `protocol` key are `http`, `https`, `socks`, `socks4`, `socks4a`, `socks5`, `socks5h`, `pac+data`, `pac+file`, `pac+ftp`, `pac+http`, `pac+https`. The library used to configure the proxy is [proxy-agent][3] library.
312312
* **subdomain**: The name of the custom subdomain set to access your Datadog application. If the URL used to access Datadog is `myorg.datadoghq.com` the `subdomain` value then needs to be set to `myorg`.
313-
* **timeout**: Duration after which synthetics tests are considered failed (in milliseconds).
314313

315314
**Example global configuration file**:
316315

@@ -333,7 +332,8 @@ To setup your client, Datadog API and application keys need to be configured. Th
333332
"retry": { "count": 2, "interval": 300 },
334333
"executionRule": "skipped",
335334
"startUrl": "{{URL}}?static_hash={{STATIC_HASH}}",
336-
"variables": { "titleVariable": "new value" }
335+
"variables": { "titleVariable": "new value" },
336+
"pollingTimeout": 180000
337337
},
338338
"proxy": {
339339
"auth": {
@@ -344,8 +344,7 @@ To setup your client, Datadog API and application keys need to be configured. Th
344344
"port": 3128,
345345
"protocol": "http"
346346
},
347-
"subdomain": "subdomainname",
348-
"timeout": 120000
347+
"subdomain": "subdomainname"
349348
}
350349
```
351350
@@ -374,15 +373,15 @@ The default configurations used for the tests are the original tests' configurat
374373
375374
However, in the context of your CI deployment, you can optionally decide to override some (or all) of your tests parameters by using the below overrides. If you want to define overrides for all of your tests, these same parameters can be set at the [global configuration file](#setup-the-client) level.
376375
377-
* **allowInsecureCertificates**: (_Boolean_) Disable certificate checks in API tests.
376+
* **allowInsecureCertificates**: (_boolean_) Disable certificate checks in API tests.
378377
* **basicAuth**: (_object_) Credentials to provide in case a basic authentication is encountered.
379378
* **username**: (_string_) Username to use in basic authentication.
380379
* **password**: (_string_) Password to use in basic authentication.
381380
* **body**: (_string_) Data to send in a synthetics API test.
382381
* **bodyType**: (_string_) Type of the data sent in a synthetics API test.
383382
* **cookies**: (_string_) Use provided string as cookie header in API or browser test.
384383
* **deviceIds**: (_array_) List of devices on which to run the browser test.
385-
* **followRedirects**: (_Boolean_) Indicates whether to follow HTTP redirections in API tests.
384+
* **followRedirects**: (_boolean_) Indicates whether to follow HTTP redirections in API tests.
386385
* **headers**: (_object_) Headers to replace in the test. This object should contain, as keys, the name of the header to replace and, as values, the new value of the header.
387386
* **locations**: (_array_) List of locations from which the test should be run.
388387
* **retry**: (_object_) Retry policy for the test:
@@ -394,6 +393,7 @@ However, in the context of your CI deployment, you can optionally decide to over
394393
* **skipped**: The test is not executed at all.
395394
* **startUrl**: (_string_) New start URL to provide to the test.
396395
* **variables**: (_object_) Variables to replace in the test. This object should contain, as keys, the name of the variable to replace and, as values, the new value of the variable.
396+
* **pollingTimeout**: (_integer_) Duration after which synthetic tests are considered failed (in milliseconds).
397397
398398
**Note**: Tests' overrides take precedence over global overrides.
399399
@@ -417,7 +417,8 @@ However, in the context of your CI deployment, you can optionally decide to over
417417
"retry": { "count": 2, "interval": 300 },
418418
"executionRule": "skipped",
419419
"startUrl": "{{URL}}?static_hash={{STATIC_HASH}}",
420-
"variables": { "titleVariable": "new value" }
420+
"variables": { "titleVariable": "new value" },
421+
"pollingTimeout": 180000
421422
}
422423
}
423424
]

0 commit comments

Comments
 (0)