Skip to content

Commit

Permalink
[Tests] update expected value for percentile ranks
Browse files Browse the repository at this point in the history
Origin:
opensearch-project/OpenSearch#3634

The previous value was actually incorrect after OpenSearch bumped t-digest
the value is now the correct value.

Issue:
opensearch-project#1821

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla committed Jun 29, 2022
1 parent e7362f9 commit 3c06704
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/functional/apps/visualize/_metric_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ export default function ({ getService, getPageObjects }) {
'5th percentile of machine.ram',
'7,516,192,768',
'25th percentile of machine.ram',
'12,884,901,888',
'12,884,901,88',
'50th percentile of machine.ram',
'18,253,611,008',
'18,138,485,823.049',
'75th percentile of machine.ram',
'32,212,254,720',
'30,506,082,436.557',
'95th percentile of machine.ram',
'32,212,254,720',
'99th percentile of machine.ram',
Expand All @@ -175,7 +175,7 @@ export default function ({ getService, getPageObjects }) {
});

it('should show Percentile Ranks', async function () {
const percentileRankBytes = ['2.036%', 'Percentile rank 99 of "memory"'];
const percentileRankBytes = ['2.029%', 'Percentile rank 99 of "memory"'];
log.debug('Aggregation = Percentile Ranks');
await PageObjects.visEditor.selectAggregation('Percentile Ranks', 'metrics');
log.debug('Field = bytes');
Expand Down

0 comments on commit 3c06704

Please sign in to comment.