Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stack Monitoring] install bundled package for tests #146355

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions x-pack/test/api_integration/apis/monitoring/data_stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export const getLifecycleMethods = (getService: FtrProviderContext['getService']
// the archiver doesn't have any reference to the template and can't automatically delete it.
// that's why we manually delete the data stream here to clean up the environment
await deleteDataStream('.monitoring-*');
await deleteDataStream('metrics-elasticsearch.*');
await deleteDataStream('metrics-kibana.*');
await deleteDataStream('metrics-beats.*');
await deleteDataStream('metrics-logstash.*');
},
};
};
8 changes: 8 additions & 0 deletions x-pack/test/api_integration/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ export async function getApiIntegrationConfig({ readConfigFile }: FtrConfigProvi
'--xpack.uptime.service.username=localKibanaIntegrationTestsUser',
'--xpack.uptime.service.devUrl=mockDevUrl',
'--monitoring_collection.opentelemetry.metrics.prometheus.enabled=true',
'--monitoring_collection.opentelemetry.metrics.prometheus.enabled=true',
`--xpack.fleet.developer.bundledPackageLocation=${__dirname}/fleet_bundled_packages`,
`--xpack.fleet.packages.0.name=elasticsearch`,
`--xpack.fleet.packages.0.version=1.2.0-preview1`,
`--xpack.fleet.packages.1.name=kibana`,
`--xpack.fleet.packages.1.version=2.1.0-preview1`,
`--xpack.fleet.packages.2.name=logstash`,
`--xpack.fleet.packages.2.version=2.1.1-preview1`,
],
},
esTestCluster: {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading