diff --git a/packages/kbn-test/src/functional_test_runner/functional_test_runner.ts b/packages/kbn-test/src/functional_test_runner/functional_test_runner.ts index ea55a2672d670..27445e68f9537 100644 --- a/packages/kbn-test/src/functional_test_runner/functional_test_runner.ts +++ b/packages/kbn-test/src/functional_test_runner/functional_test_runner.ts @@ -73,10 +73,10 @@ export class FunctionalTestRunner { ); } - if (!this.esVersion.eql(esInfo.version.number)) { + if (!this.esVersion.eql(esInfo.body.version.number)) { throw new Error( `ES reports a version number "${ - esInfo.version.number + esInfo.body.version.number }" which doesn't match supplied es version "${this.esVersion.toString()}"` ); }