[8.4] [Fleet Synthetics] Upgrade to 0.10.1 (#137667) (#137922)

* [Fleet Synthetics] Upgrade to 0.10.1 (#137667)

* update to 0.10.1

* fix integeration test

* update policy test

(cherry picked from commit e5aa1b46a6)

* Update config.ts

* Update x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts

* Update x-pack/test/functional/config.base.js

* Update x-pack/test/functional/config.base.js

* Apply suggestions from code review

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
Co-authored-by: Dominique Clarke <dominiquedclarke@gmail.com>
This commit is contained in:
Kibana Machine 2022-08-08 05:09:22 -04:00 committed by GitHub
parent f6ef62355f
commit 9a3d8e4191
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -31,6 +31,6 @@
},
{
"name": "synthetics",
"version": "0.9.4"
"version": "0.10.1"
}
]

View file

@ -93,6 +93,7 @@ Object {
"sample_rate": 0.1,
},
],
"storage_limit": "3GB",
},
},
"shutdown_timeout": "30s",
@ -104,9 +105,9 @@ Object {
"key": "/app/config/certs/node.key",
"key_passphrase": null,
"supported_protocols": Array [
"TLSv1.0",
"TLSv1.1",
"TLSv1.2",
"TLSv1.3",
],
},
"write_timeout": "30s",

View file

@ -18,7 +18,7 @@ import pRetry from 'p-retry';
const BEFORE_SETUP_TIMEOUT = 30 * 60 * 1000; // 30 minutes;
const DOCKER_START_TIMEOUT = 5 * 60 * 1000; // 5 minutes
const DOCKER_IMAGE = `docker.elastic.co/package-registry/distribution:93ffe45d8c4ae11365bc70b1038643121049b9fe`;
const DOCKER_IMAGE = `docker.elastic.co/package-registry/distribution:433d99a96f3289c5013ae35826877adf408eb9c9`;
function firstWithTimeout(source$: Rx.Observable<any>, errorMsg: string, ms = 30 * 1000) {
return Rx.race(

View file

@ -15,7 +15,7 @@ import { pageObjects } from './page_objects';
// example: https://beats-ci.elastic.co/blue/organizations/jenkins/Ingest-manager%2Fpackage-storage/detail/snapshot/74/pipeline/257#step-302-log-1.
// It should be updated any time there is a new Docker image published for the Snapshot Distribution of the Package Registry.
export const dockerImage =
'docker.elastic.co/package-registry/distribution:93ffe45d8c4ae11365bc70b1038643121049b9fe';
'docker.elastic.co/package-registry/distribution:433d99a96f3289c5013ae35826877adf408eb9c9';
// the default export of config files must be a config provider
// that returns an object with the projects config values