Skip to content

Commit 60416d6

Browse files
kanoshioulkts
authored andcommitted
fix
1 parent af364a4 commit 60416d6

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

modules/mapper-extras/src/test/java/org/elasticsearch/index/mapper/extras/ScaledFloatFieldMapperTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ private double roundDocValues(double d) {
449449
}
450450

451451
long encoded = Math.round(d * scalingFactor);
452-
return encoded * (1 / scalingFactor);
452+
return encoded / scalingFactor;
453453
}
454454

455455
private void mapping(XContentBuilder b) throws IOException {

muted-tests.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -332,18 +332,9 @@ tests:
332332
- class: org.elasticsearch.xpack.esql.action.CrossClusterQueryWithPartialResultsIT
333333
method: testPartialResults
334334
issue: https://github.com/elastic/elasticsearch/issues/123101
335-
- class: org.elasticsearch.index.mapper.extras.ScaledFloatFieldMapperTests
336-
method: testBlockLoaderFromRowStrideReader
337-
issue: https://github.com/elastic/elasticsearch/issues/123126
338-
- class: org.elasticsearch.index.mapper.extras.ScaledFloatFieldMapperTests
339-
method: testBlockLoaderFromRowStrideReaderWithSyntheticSource
340-
issue: https://github.com/elastic/elasticsearch/issues/123145
341335
- class: org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryStopIT
342336
method: testStopQueryLocal
343337
issue: https://github.com/elastic/elasticsearch/issues/121672
344-
- class: org.elasticsearch.index.mapper.extras.ScaledFloatFieldMapperTests
345-
method: testBlockLoaderFromColumnReaderWithSyntheticSource
346-
issue: https://github.com/elastic/elasticsearch/issues/123149
347338

348339
# Examples:
349340
#

0 commit comments

Comments
 (0)