Skip to content

Commit

Permalink
Update latest ingegration tests from upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Jul 15, 2021
1 parent d90a252 commit 496edc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/server/http/integration_tests/logging.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('request logging', () => {
},
};

beforeEach(async () => {
beforeEach(() => {
root = kbnTestServer.createRoot(config);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ describe('migration v2', () => {
it('logs a warning and completes the migration with unknown docs retained', async () => {
root = createRoot();
esServer = await startES();
await root.preboot();
await root.setup();
await root.start();

Expand Down Expand Up @@ -148,6 +149,7 @@ describe('migration v2', () => {
// Shutdown and start Kibana again with space type registered to ensure space docs get migrated
await root.shutdown();
root = createRoot();
await root.preboot();
const coreSetup = await root.setup();
coreSetup.savedObjects.registerType({
name: 'space',
Expand Down

0 comments on commit 496edc5

Please sign in to comment.