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

[Draft] DO NOT MERGE - Enable LogsDB in tests #187625

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
16558f5
Enable LogsDB in tests
gbamparop Jul 5, 2024
7320eb5
Update test config
gbamparop Jul 5, 2024
b633f92
Merge branch 'main' into tests-enable-logsdb
elasticmachine Jul 5, 2024
2bdfac7
Merge branch 'main' into tests-enable-logsdb
elasticmachine Jul 18, 2024
d15b939
Merge branch 'main' into tests-enable-logsdb
elasticmachine Jul 23, 2024
11f45a8
Merge branch 'main' into tests-enable-logsdb
elasticmachine Jul 31, 2024
6641ab6
Merge branch 'main' into tests-enable-logsdb
elasticmachine Sep 25, 2024
d9093d9
Merge branch 'main' into tests-enable-logsdb
elasticmachine Sep 30, 2024
775db21
Merge branch 'main' into tests-enable-logsdb
elasticmachine Oct 14, 2024
648883a
Merge branch 'main' into tests-enable-logsdb
elasticmachine Oct 17, 2024
643f981
Merge branch 'main' into tests-enable-logsdb
elasticmachine Oct 22, 2024
5398ef0
Merge branch 'main' into tests-enable-logsdb
elasticmachine Oct 28, 2024
1ea0288
Merge branch 'main' into tests-enable-logsdb
elasticmachine Nov 4, 2024
85af63a
Merge branch 'main' into tests-enable-logsdb
elasticmachine Nov 4, 2024
f2f8451
Merge remote-tracking branch 'upstream/main' into tests-enable-logsdb
gbamparop Nov 11, 2024
a357e2d
Merge branch 'main' into tests-enable-logsdb
elasticmachine Nov 11, 2024
e882cae
Merge branch 'main' into tests-enable-logsdb
elasticmachine Nov 21, 2024
6592fe3
Merge branch 'main' into tests-enable-logsdb
elasticmachine Nov 21, 2024
2093c2f
Merge branch 'main' into tests-enable-logsdb
elasticmachine Nov 25, 2024
306b4c5
Merge branch 'main' into tests-enable-logsdb
elasticmachine Dec 2, 2024
3a1e10f
Merge branch 'main' into tests-enable-logsdb
elasticmachine Dec 10, 2024
e93ed0c
Merge branch 'main' into tests-enable-logsdb
elasticmachine Dec 30, 2024
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
8 changes: 8 additions & 0 deletions x-pack/test/api_integration/apis/logs_ui/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,13 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
return {
...baseIntegrationTestsConfig.getAll(),
testFiles: [require.resolve('.')],
esTestCluster: {
...baseIntegrationTestsConfig.get('esTestCluster'),
serverArgs: [
...baseIntegrationTestsConfig.get('esTestCluster.serverArgs'),
// Enable LogsDB
'cluster.logsdb.enabled=true',
],
},
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ export function createTestConfig(
esTestCluster: {
...xPackAPITestsConfig.get('esTestCluster'),
license,
serverArgs: [
...xPackAPITestsConfig.get('esTestCluster.serverArgs'),
// Enable LogsDB
'cluster.logsdb.enabled=true',
],
},
kbnTestServer: {
...xPackAPITestsConfig.get('kbnTestServer'),
Expand Down
8 changes: 8 additions & 0 deletions x-pack/test/functional/apps/dataset_quality/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ export default async function createTestConfig({
});
},
},
esTestCluster: {
...functionalConfig.get('esTestCluster'),
serverArgs: [
...functionalConfig.get('esTestCluster.serverArgs'),
// Enable LogsDB
'cluster.logsdb.enabled=true',
],
},
pageObjects,
};
}
Expand Down
8 changes: 8 additions & 0 deletions x-pack/test/functional/apps/infra/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,13 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
`--xpack.infra.featureFlags.profilingEnabled=true`,
],
},
esTestCluster: {
...functionalConfig.get('esTestCluster'),
serverArgs: [
...functionalConfig.get('esTestCluster.serverArgs'),
// Enable LogsDB
'cluster.logsdb.enabled=true',
],
},
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ export default async function createTestConfig({
});
},
},
esTestCluster: {
...functionalConfig.get('esTestCluster'),
serverArgs: [
...functionalConfig.get('esTestCluster.serverArgs'),
// Enable LogsDB
'cluster.logsdb.enabled=true',
],
},
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default createTestConfig({

// include settings from project controller
// https://github.com/elastic/project-controller/blob/main/internal/project/observability/config/elasticsearch.yml
esServerArgs: ['xpack.ml.dfa.enabled=false'],
esServerArgs: ['xpack.ml.dfa.enabled=false', 'cluster.logsdb.enabled=true'],
kbnServerArgs: [
'--xpack.dataUsage.enabled=true',
'--xpack.dataUsage.enableExperimental=[]',
Expand Down