Skip to content

Commit

Permalink
[Discover] Unskip flaky histogram test (#179974)
Browse files Browse the repository at this point in the history
  • Loading branch information
jughosta authored Apr 5, 2024
1 parent f19498d commit 087a070
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const log = getService('log');
const queryBar = getService('queryBar');

// FLAKY: https://github.com/elastic/kibana/issues/173904
describe.skip('discover histogram', function describeIndexTests() {
describe('discover histogram', function describeIndexTests() {
before(async () => {
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
await esArchiver.load('test/functional/fixtures/es_archiver/long_window_logstash');
Expand Down Expand Up @@ -75,7 +74,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const actualCount = await elasticChart.getVisualizationRenderingCount();
const expectedCount = prevRenderingCount + renderingCountInc;
log.debug(`renderings before brushing - actual: ${actualCount} expected: ${expectedCount}`);
return actualCount === expectedCount;
return actualCount <= expectedCount;
});
let prevRowData = '';
// to make sure the table is already rendered
Expand Down

0 comments on commit 087a070

Please sign in to comment.