Skip to content

Commit

Permalink
Add log when skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Oct 26, 2020
1 parent e764966 commit 2491c31
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ import { FtrProviderContext } from '../../../ftr_provider_context';
export default function ({ getService, getPageObjects }: FtrProviderContext) {
const es = getService('es');
const testSubjects = getService('testSubjects');
const log = getService('log');
const PageObjects = getPageObjects(['common', 'header', 'dashboard', 'visChart']);

describe('dashboard with async search', () => {
before(async function () {
const { body } = await es.info();
if (!body.version.number.includes('SNAPSHOT')) this.skip();
if (!body.version.number.includes('SNAPSHOT')) {
log.debug('Skipping because this build does not have the required shard_delay agg');
this.skip();
}
});

it('not delayed should load', async () => {
Expand Down

0 comments on commit 2491c31

Please sign in to comment.