mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
fix telemetry test (#167471)
Closes https://github.com/elastic/kibana/issues/156245 One test agent went from offline to inactive due to inactivity timeout and broke the tests, instead changed the `last_checkin` to now-6m so it stays in offline state.
This commit is contained in:
parent
046718c18f
commit
f8dae67d8d
1 changed files with 2 additions and 3 deletions
|
@ -20,8 +20,7 @@ import { waitForFleetSetup } from './helpers';
|
||||||
|
|
||||||
const logFilePath = path.join(__dirname, 'logs.log');
|
const logFilePath = path.join(__dirname, 'logs.log');
|
||||||
|
|
||||||
// Failing: See https://github.com/elastic/kibana/issues/156245
|
describe('fleet usage telemetry', () => {
|
||||||
describe.skip('fleet usage telemetry', () => {
|
|
||||||
let core: any;
|
let core: any;
|
||||||
let esServer: TestElasticsearchUtils;
|
let esServer: TestElasticsearchUtils;
|
||||||
let kbnServer: TestKibanaUtils;
|
let kbnServer: TestKibanaUtils;
|
||||||
|
@ -218,7 +217,7 @@ describe.skip('fleet usage telemetry', () => {
|
||||||
version: '8.6.0',
|
version: '8.6.0',
|
||||||
},
|
},
|
||||||
last_checkin_status: 'online',
|
last_checkin_status: 'online',
|
||||||
last_checkin: '2023-09-13T12:26:24Z',
|
last_checkin: new Date(Date.now() - 1000 * 60 * 6).toISOString(),
|
||||||
active: true,
|
active: true,
|
||||||
policy_id: 'policy2',
|
policy_id: 'policy2',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue