Skip to content

Commit

Permalink
enabled xpack to register types for some IT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Nov 11, 2021
1 parent b65fa72 commit 63a1932
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('migration v2', () => {
await root.preboot();
await root.setup();
await expect(root.start()).rejects.toMatchInlineSnapshot(
`[Error: Unable to complete saved object migrations for the [.kibana] index: The document with _id "canvas-workpad-template:workpad-template-061d7868-2b4e-4dc8-8bf7-3772b52926e5" is 1715275 bytes which exceeds the configured maximum batch size of 1015275 bytes. To proceed, please increase the 'migrations.maxBatchSizeBytes' Kibana configuration option and ensure that the Elasticsearch 'http.max_content_length' configuration option is set to an equal or larger value.]`
`[Error: Unable to complete saved object migrations for the [.kibana] index: The document with _id "canvas-workpad-template:workpad-template-061d7868-2b4e-4dc8-8bf7-3772b52926e5" is 1715274 bytes which exceeds the configured maximum batch size of 1015275 bytes. To proceed, please increase the 'migrations.maxBatchSizeBytes' Kibana configuration option and ensure that the Elasticsearch 'http.max_content_length' configuration option is set to an equal or larger value.]`
);

await retryAsync(
Expand Down Expand Up @@ -159,7 +159,7 @@ function createRoot(options: { maxBatchSizeBytes?: number }) {
},
},
{
oss: true,
oss: false,
}
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function createRoot() {
},
},
{
oss: true,
oss: false,
}
);
}
Expand Down

0 comments on commit 63a1932

Please sign in to comment.