Skip to content

Commit bf76e9d

Browse files
authored
This shouldn't be zero (#138501)
Fixes a test failure. Elsewhere, we expect this to be greater than zero.
1 parent 1af93e1 commit bf76e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/analytics/src/test/java/org/elasticsearch/xpack/analytics/mapper/TDigestFieldBlockLoaderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public DataSourceResponse.FieldDataGenerator handle(DataSourceRequest.FieldDataG
7373
return null;
7474
}
7575
return new DataSourceResponse.FieldDataGenerator(
76-
mapping -> TDigestFieldMapperTests.generateRandomFieldValues(randomIntBetween(0, 1_000))
76+
mapping -> TDigestFieldMapperTests.generateRandomFieldValues(randomIntBetween(1, 1_000))
7777
);
7878
}
7979
};

0 commit comments

Comments
 (0)