Skip to content

Commit

Permalink
Fixes messgaing with ES promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHassanabad committed Mar 11, 2021
1 parent 14c32cb commit 0d35ff4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ export default ({ getService }: FtrProviderContext) => {
const supertest = getService('supertest');
const supertestWithoutAuth = getService('supertestWithoutAuth');

// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/94367
describe.skip('create_index', () => {
describe('create_index', () => {
afterEach(async () => {
await deleteSignalsIndex(supertest);
});
Expand Down Expand Up @@ -92,7 +91,7 @@ export default ({ getService }: FtrProviderContext) => {
.expect(403);
expect(body).to.eql({
message:
'security_exception: action [cluster:admin/ilm/get] is unauthorized for user [t1_analyst], this action is granted by the cluster privileges [read_ilm,manage_ilm,manage,all]',
'security_exception: action [cluster:admin/ilm/get] is unauthorized for user [t1_analyst] with roles [t1_analyst], this action is granted by the cluster privileges [read_ilm,manage_ilm,manage,all]',
status_code: 403,
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ export default ({ getService }: FtrProviderContext): void => {
const supertest = getService('supertest');
const supertestWithoutAuth = getService('supertestWithoutAuth');

// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/94367
describe.skip('Finalizing signals migrations', () => {
describe('Finalizing signals migrations', () => {
let legacySignalsIndexName: string;
let outdatedSignalsIndexName: string;
let createdMigrations: CreateResponse[];
Expand Down Expand Up @@ -251,7 +250,7 @@ export default ({ getService }: FtrProviderContext): void => {
expect(finalizeResponse.completed).not.to.eql(true);
expect(finalizeResponse.error).to.eql({
message:
'security_exception: action [cluster:monitor/task/get] is unauthorized for user [t1_analyst], this action is granted by the cluster privileges [monitor,manage,all]',
'security_exception: action [cluster:monitor/task/get] is unauthorized for user [t1_analyst] with roles [t1_analyst], this action is granted by the cluster privileges [monitor,manage,all]',
status_code: 403,
});

Expand Down

0 comments on commit 0d35ff4

Please sign in to comment.