mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Telemetry] force staging urls in tests (#63356)
* specify telemetry url configs * opt out by default except where we are testing telemetry
This commit is contained in:
parent
6f46e6b827
commit
5bc233f3c7
4 changed files with 6 additions and 2 deletions
|
@ -56,6 +56,10 @@ export default function() {
|
|||
`--elasticsearch.password=${kibanaServerTestUser.password}`,
|
||||
`--home.disableWelcomeScreen=true`,
|
||||
'--telemetry.banner=false',
|
||||
'--telemetry.optIn=false',
|
||||
// These are *very* important to have them pointing to staging
|
||||
'--telemetry.url=https://telemetry-staging.elastic.co/xpack/v2/send',
|
||||
'--telemetry.optInStatusUrl=https://telemetry-staging.elastic.co/opt_in_status/v2/send',
|
||||
`--server.maxPayloadBytes=1679958`,
|
||||
// newsfeed mock service
|
||||
`--plugin-path=${path.join(__dirname, 'fixtures', 'plugins', 'newsfeed')}`,
|
||||
|
|
|
@ -27,6 +27,8 @@ export async function getApiIntegrationConfig({ readConfigFile }) {
|
|||
'--xpack.security.session.idleTimeout=3600000', // 1 hour
|
||||
'--optimize.enabled=false',
|
||||
'--xpack.endpoint.enabled=true',
|
||||
'--telemetry.optIn=true',
|
||||
'--xpack.endpoint.enabled=true',
|
||||
'--xpack.ingestManager.enabled=true',
|
||||
'--xpack.ingestManager.fleet.enabled=true',
|
||||
'--xpack.endpoint.alertResultListDefaultDateRange.from=2018-01-10T00:00:00.000Z',
|
||||
|
|
|
@ -85,7 +85,6 @@ export default async function({ readConfigFile }) {
|
|||
'--stats.maximumWaitTimeForAllCollectorsInS=1',
|
||||
'--xpack.security.encryptionKey="wuGNaIhoMpk5sO4UBxgr3NyW1sFcLgIf"', // server restarts should not invalidate active sessions
|
||||
'--xpack.encryptedSavedObjects.encryptionKey="DkdXazszSCYexXqz4YktBGHCRkV6hyNK"',
|
||||
'--telemetry.banner=false',
|
||||
'--timelion.ui.enabled=true',
|
||||
],
|
||||
},
|
||||
|
|
|
@ -42,7 +42,6 @@ export default async function({ readConfigFile }) {
|
|||
...kibanaCommonConfig.get('kbnTestServer.serverArgs'),
|
||||
'--server.uuid=5b2de169-2785-441b-ae8c-186a1936b17d',
|
||||
'--xpack.security.encryptionKey="wuGNaIhoMpk5sO4UBxgr3NyW1sFcLgIf"', // server restarts should not invalidate active sessions
|
||||
'--telemetry.banner=false',
|
||||
],
|
||||
},
|
||||
uiSettings: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue