mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Some fixes for update by query tests
This commit is contained in:
parent
e1041eebcd
commit
27476b279f
6 changed files with 8 additions and 8 deletions
|
@ -20,7 +20,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|||
apps: integrationConfig.get('apps'),
|
||||
screenshots: integrationConfig.get('screenshots'),
|
||||
junit: {
|
||||
reportName: 'Task Manager MGet Claimer Functional Tests',
|
||||
reportName: 'Task Manager Update By Query Claimer Functional Tests',
|
||||
},
|
||||
kbnTestServer: {
|
||||
...integrationConfig.get('kbnTestServer'),
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"type": "plugin",
|
||||
"id": "@kbn/sample-task-plugin-mget",
|
||||
"id": "@kbn/sample-task-plugin-update-by-query",
|
||||
"owner": "@elastic/response-ops",
|
||||
"plugin": {
|
||||
"id": "sampleTaskPluginMget",
|
||||
"id": "sampleTaskPluginUpdateByQuery",
|
||||
"server": true,
|
||||
"browser": false,
|
||||
"requiredPlugins": [
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"version": "kibana",
|
||||
"templateVersion": "1.0.0"
|
||||
},
|
||||
"main": "target/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget",
|
||||
"main": "target/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_update_by_query",
|
||||
"scripts": {
|
||||
"kbn": "node ../../../../../scripts/kbn.js",
|
||||
"build": "rm -rf './target' && ../../../../../node_modules/.bin/tsc"
|
||||
|
|
|
@ -131,7 +131,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
const health = await getHealth();
|
||||
expect(health.status).to.eql('OK');
|
||||
expect(health.stats.configuration.value).to.eql({
|
||||
poll_interval: 500,
|
||||
poll_interval: 3000,
|
||||
monitored_aggregated_stats_refresh_rate: monitoredAggregatedStatsRefreshRate,
|
||||
monitored_stats_running_average_window: 50,
|
||||
monitored_task_execution_thresholds: {
|
||||
|
@ -147,7 +147,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
as_workers: 10,
|
||||
as_cost: 20,
|
||||
},
|
||||
claim_strategy: 'mget',
|
||||
claim_strategy: 'update_by_query',
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import { FtrProviderContext } from '../../ftr_provider_context';
|
||||
|
||||
export default function ({ loadTestFile }: FtrProviderContext) {
|
||||
describe('task_manager with mget task claimer', function taskManagerSuite() {
|
||||
describe('task_manager with update by query task claimer', function taskManagerSuite() {
|
||||
loadTestFile(require.resolve('./task_priority'));
|
||||
loadTestFile(require.resolve('./background_task_utilization_route'));
|
||||
loadTestFile(require.resolve('./metrics_route'));
|
||||
|
|
|
@ -6247,7 +6247,7 @@
|
|||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
"@kbn/sample-task-plugin-mget@link:x-pack/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget":
|
||||
"@kbn/sample-task-plugin-update-by-query@link:x-pack/test/task_manager_claimer_update_by_query/plugins/sample_task_plugin_mget":
|
||||
version "0.0.0"
|
||||
uid ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue