Skip to content

Commit

Permalink
[ILM] Updated the params after es client update
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliacech committed Oct 26, 2021
1 parent 5dabf50 commit 21b982e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions x-pack/test/accessibility/apps/index_lifecycle_management.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
describe('Index Lifecycle Management', async () => {
before(async () => {
await esClient.snapshot.createRepository({
repository: REPO_NAME,
name: REPO_NAME,
body: {
type: 'fs',
settings: {
Expand Down Expand Up @@ -89,7 +89,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

after(async () => {
await esClient.snapshot.deleteRepository({
repository: REPO_NAME,
name: REPO_NAME,
});
await esClient.ilm.deleteLifecycle({ name: POLICY_NAME });
await esClient.indices.deleteIndexTemplate({ name: indexTemplateName });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
describe('Home page', function () {
before(async () => {
await esClient.snapshot.createRepository({
repository: repoName,
name: repoName,
body: {
type: 'fs',
settings: {
Expand All @@ -33,7 +33,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await pageObjects.common.navigateToApp('indexLifecycleManagement');
});
after(async () => {
await esClient.snapshot.deleteRepository({ repository: repoName });
await esClient.snapshot.deleteRepository({ name: repoName });
await esClient.ilm.deleteLifecycle({ name: policyName });
});

Expand Down

0 comments on commit 21b982e

Please sign in to comment.