Skip to content

Commit e46cf6b

Browse files
committed
fix serialization size tests
1 parent 248f49f commit e46cf6b

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

docs/reference/query-languages/esql/kibana/definition/functions/knn.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/kibana/docs/functions/knn.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/index/EsIndexSerializationTests.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,13 @@ public static EsIndex indexWithManyConflicts(boolean withParent) {
134134
* See {@link #testManyTypeConflicts(boolean, ByteSizeValue)} for more.
135135
*/
136136
public void testManyTypeConflicts() throws IOException {
137-
testManyTypeConflicts(false, ByteSizeValue.ofBytes(916998));
137+
testManyTypeConflicts(false, ByteSizeValue.ofBytes(924248));
138138
/*
139139
* History:
140140
* 953.7kb - shorten error messages for UnsupportedAttributes #111973
141141
* 967.7kb - cache EsFields #112008 (little overhead of the cache)
142142
* 895.5kb - string serialization #112929
143+
* 902.5kb - added time series field type to EsField #129649
143144
*/
144145
}
145146

@@ -148,13 +149,14 @@ public void testManyTypeConflicts() throws IOException {
148149
* See {@link #testManyTypeConflicts(boolean, ByteSizeValue)} for more.
149150
*/
150151
public void testManyTypeConflictsWithParent() throws IOException {
151-
testManyTypeConflicts(true, ByteSizeValue.ofBytes(1300467));
152+
testManyTypeConflicts(true, ByteSizeValue.ofBytes(1307718));
152153
/*
153154
* History:
154155
* 16.9mb - start
155156
* 1.8mb - shorten error messages for UnsupportedAttributes #111973
156157
* 1.3mb - cache EsFields #112008
157158
* 1.2mb - string serialization #112929
159+
* 1.2mb - added time series field type to EsField #129649
158160
*/
159161
}
160162

@@ -214,10 +216,11 @@ private static EsField fieldWithRecursiveChildren(int depth, int childrenPerLeve
214216
* A single root with 9 children, each of which has 9 children etc. 6 levels deep.
215217
*/
216218
public void testDeeplyNestedFields() throws IOException {
217-
ByteSizeValue expectedSize = ByteSizeValue.ofBytes(9425494);
219+
ByteSizeValue expectedSize = ByteSizeValue.ofBytes(10023365);
218220
/*
219221
* History:
220222
* 9425494b - string serialization #112929
223+
* 10023365b - added time series field type to EsField #129649
221224
*/
222225

223226
int depth = 6;

0 commit comments

Comments
 (0)