mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Revert "[Cypress] Hardcode fleet server 8.13.0 version in tests (#180… (#181341)
This commit is contained in:
parent
b3f7c5cf0d
commit
63a56dbabb
2 changed files with 2 additions and 4 deletions
|
@ -343,8 +343,6 @@ ${JSON.stringify(
|
|||
|
||||
fleetServer = await startFleetServer({
|
||||
kbnClient,
|
||||
// TODO TC: https://github.com/elastic/kibana/pull/180879 - there was an issue with 8.14.0, this should be removed when it's fixed
|
||||
version: '8.13.0-SNAPSHOT',
|
||||
logger: log,
|
||||
port:
|
||||
fleetServerPort ?? config.has('servers.fleetserver.port')
|
||||
|
|
|
@ -12,6 +12,7 @@ import {
|
|||
startFleetServer,
|
||||
} from '@kbn/security-solution-plugin/scripts/endpoint/common/fleet_server/fleet_server_services';
|
||||
import { Manager } from './resource_manager';
|
||||
import { getLatestAvailableAgentVersion } from './utils';
|
||||
|
||||
export class FleetManager extends Manager {
|
||||
private fleetServer: StartedFleetServer | undefined = undefined;
|
||||
|
@ -25,8 +26,7 @@ export class FleetManager extends Manager {
|
|||
}
|
||||
|
||||
public async setup(): Promise<void> {
|
||||
// TODO TC: https://github.com/elastic/kibana/pull/180879 - there was an issue with 8.14.0, this should be removed when it's fixed
|
||||
const version = '8.13.0-SNAPSHOT';
|
||||
const version = await getLatestAvailableAgentVersion(this.kbnClient);
|
||||
this.fleetServer = await startFleetServer({
|
||||
kbnClient: this.kbnClient,
|
||||
logger: this.log,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue