You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`[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 1715319 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.]`
`Reason: 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 1715319 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.`
93
+
}));
94
+
});
95
+
96
+
afterEach(async()=>{
97
+
if(root){
98
+
awaitroot.shutdown();
99
+
}
100
+
if(esServer){
101
+
awaitesServer.stop();
102
+
awaitdelay(10);
103
+
}
104
+
});
105
+
106
+
it('completes the migration even when a full batch would exceed ES http.max_content_length',async()=>{
107
+
root=createRoot({maxBatchSizeBytes: 1715329});
108
+
esServer=awaitstartES();
109
+
awaitroot.preboot();
110
+
awaitroot.setup();
111
+
awaitexpect(root.start()).resolves.toBeTruthy();
112
+
113
+
// After plugins start, some saved objects are deleted/recreated, so we
`[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 1715319 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.]`
`Reason: 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 1715319 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.`
145
+
)
142
146
)
143
-
)
144
-
).toBeDefined();
145
-
},
146
-
{retryAttempts: 10,retryDelayMs: 200}
147
-
);
148
-
});
147
+
).toBeDefined();
148
+
},
149
+
{retryAttempts: 10,retryDelayMs: 200}
150
+
);
151
+
});
152
+
}else{
153
+
it('cannot run tests with dataArchives that have a basic license in FIPS mode',()=>{
0 commit comments