mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 17:39:15 +00:00
[TEST] Fix typo in DateHistogramTests that fails the test since it expects dates to be rounded by day.
This commit is contained in:
parent
f109802960
commit
f1916d16dc
@ -1134,7 +1134,7 @@ public class DateHistogramTests extends ElasticsearchIntegrationTest {
|
||||
if (frequently()) {
|
||||
boundsMinKey = baseKey.minusDays(addedBucketsLeft * interval);
|
||||
} else {
|
||||
boundsMinKey = baseKey.plus(addedBucketsLeft * interval);
|
||||
boundsMinKey = baseKey.plusDays(addedBucketsLeft * interval);
|
||||
addedBucketsLeft = 0;
|
||||
}
|
||||
DateTime boundsMin = boundsMinKey.plusDays(randomIntBetween(0, interval - 1));
|
||||
|
Loading…
x
Reference in New Issue
Block a user