Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip test due to unavailable resource #195330

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 3 additions & 24 deletions x-pack/test/licensing_plugin/scenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,30 +70,9 @@ export function createScenario({ getService, getPageObjects }: FtrProviderContex
expect(response.body.trial_was_started).to.be(true);
},

async startEnterprise() {
const response = await esSupertestWithoutAuth
.post('/_license/?acknowledge=true')
.send({
license: {
uid: '504430e6-503c-4316-85cb-b402c730ca08',
type: 'enterprise',
issue_date_in_millis: 1669680000000,
start_date_in_millis: 1669680000000,
// expires 2024-12-31
expiry_date_in_millis: 1735689599999,
max_resource_units: 250,
max_nodes: null,
issued_to: 'Elastic - INTERNAL (development environments)',
issuer: 'API',
signature:
'AAAABQAAAA2h1vBafHuRhjOHREKYAAAAIAo5/x6hrsGh1GqqrJmy4qgmEC7gK0U4zQ6q5ZEMhm4jAAABAByGz9MmRW/L7vQriISa6u8Oov7zykA+Cv55BToWEthSn0c5KQUxcWG+K5Cm4/OkFsXA8TE4zFnlSgYxmQi2Eqq7IAKGdcxI/xhQfMsq5RWlSEwtfyV0M2RKJxgam8o2lvKC9EbrU76ISYr7jTkgoBl6GFSjdfXMHmxNXBSKDDm03ZeXkWkvuNNFrHJuYivf2Se9OeeB/eu4jqUI0UuNfPYF07ZcYvtKfj3KX+aysCSV2FW8wgyAjndOPEinfYcwAJ09zcl+MTig2K0DQTsYkLykXmzZnLz6qeuVVFjCTowxizDFW+5MrpzUnwkjqv8CFhLfvxG7waWQWslv8fXLUn8=',
},
})
.auth('license_manager_user', 'license_manager_user-password')
.expect(200);

expect(response.body.license_status).to.be('valid');
},
// FIXME: enterprise license is not available for tests
// https://github.com/elastic/kibana/issues/53575
async startEnterprise() {},

async deleteLicense() {
const response = await esSupertestWithoutAuth
Expand Down
4 changes: 3 additions & 1 deletion x-pack/test/licensing_plugin/server/updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ export default function (ftrContext: FtrProviderContext) {
await testSubjects.missingOrFail('licenseExpiredBanner');
});

it('properly recognize an enterprise license', async () => {
// FIXME: enterprise license is not available for tests
// https://github.com/elastic/kibana/issues/53575
it.skip('properly recognize an enterprise license', async () => {
await scenario.startEnterprise();
await scenario.waitForPluginToDetectLicenseUpdate();

Expand Down