Skip to content

Commit 6bf5310

Browse files
committed
Try with 10k SO
1 parent ed3b31f commit 6bf5310

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions_test_suite.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const runActionTestSuite = ({
105105
{ _source: { title: 'saved object 4', type: 'another_unused_type' } },
106106
{ _source: { title: 'f-agent-event 5', type: 'f_agent_event' } },
107107
{
108-
_source: { title: new Array(1000).fill('a').join(), type: 'large' },
108+
_source: { title: new Array(10000).fill('a').join(), type: 'large' },
109109
}, // "large" saved objects
110110
] as unknown as SavedObjectsRawDoc[];
111111
await bulkOverwriteTransformedDocuments({
@@ -117,8 +117,8 @@ export const runActionTestSuite = ({
117117

118118
await createIndex({
119119
client,
120-
indexName: 'existing_index_with_1k_docs',
121-
aliases: ['existing_index_with_1k_docs_alias'],
120+
indexName: 'existing_index_with_10k_docs',
121+
aliases: ['existing_index_with_10k_docs_alias'],
122122
esCapabilities,
123123
mappings: {
124124
dynamic: true,
@@ -131,7 +131,7 @@ export const runActionTestSuite = ({
131131

132132
await bulkOverwriteTransformedDocuments({
133133
client,
134-
index: 'existing_index_with_1k_docs',
134+
index: 'existing_index_with_10k_docs',
135135
operations: docs1k.map((doc) => createBulkIndexOperationTuple(doc)),
136136
refresh: 'wait_for',
137137
})();
@@ -1144,7 +1144,7 @@ export const runActionTestSuite = ({
11441144
it('resolves left wait_for_task_completion_timeout when the task does not finish within the timeout', async () => {
11451145
const readyTaskRes = await waitForIndexStatus({
11461146
client,
1147-
index: 'existing_index_with_1k_docs',
1147+
index: 'existing_index_with_10k_docs',
11481148
status: 'yellow',
11491149
timeout: '300s',
11501150
})();
@@ -1153,7 +1153,7 @@ export const runActionTestSuite = ({
11531153

11541154
const res = (await reindex({
11551155
client,
1156-
sourceIndex: 'existing_index_with_1k_docs',
1156+
sourceIndex: 'existing_index_with_10k_docs',
11571157
targetIndex: 'reindex_target',
11581158
reindexScript: Option.none,
11591159
requireAlias: false,
@@ -1491,7 +1491,7 @@ export const runActionTestSuite = ({
14911491
it('resolves left wait_for_task_completion_timeout when the task does not complete within the timeout', async () => {
14921492
const res = (await pickupUpdatedMappings(
14931493
client,
1494-
'existing_index_with_1k_docs',
1494+
'existing_index_with_10k_docs',
14951495
1000
14961496
)()) as Either.Right<UpdateByQueryResponse>;
14971497

0 commit comments

Comments
 (0)