Skip to content

Commit

Permalink
fix multicluster api test
Browse files Browse the repository at this point in the history
  • Loading branch information
klacabane committed Jan 4, 2022
1 parent 9feffc6 commit 650eef8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 494,734 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@

import expect from '@kbn/expect';
import multiclusterFixture from './fixtures/multicluster';
import { getLifecycleMethods } from '../data_stream';

export default function ({ getService }) {
const supertest = getService('supertest');
const esArchiver = getService('esArchiver');
const { setup, tearDown } = getLifecycleMethods(getService);

describe('list mb', () => {
describe('with trial license clusters', () => {
Expand All @@ -22,11 +24,11 @@ export default function ({ getService }) {
const codePaths = ['all'];

before('load clusters archive', () => {
return esArchiver.load(archive);
return setup(archive);
});

after('unload clusters archive', () => {
return esArchiver.unload(archive);
return tearDown();
});

it('should load multiple clusters', async () => {
Expand Down
Binary file not shown.
Loading

0 comments on commit 650eef8

Please sign in to comment.