mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix broken health test (#107036)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
7aef1be90d
commit
caee1257f4
1 changed files with 3 additions and 4 deletions
|
@ -29,8 +29,7 @@ jest.mock('../lib/log_health_metrics', () => ({
|
|||
logHealthMetrics: jest.fn(),
|
||||
}));
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/106388
|
||||
describe.skip('healthRoute', () => {
|
||||
describe('healthRoute', () => {
|
||||
beforeEach(() => {
|
||||
jest.resetAllMocks();
|
||||
});
|
||||
|
@ -161,7 +160,7 @@ describe.skip('healthRoute', () => {
|
|||
summarizeMonitoringStats(warnWorkloadStat, getTaskManagerConfig({}))
|
||||
),
|
||||
});
|
||||
expect(logHealthMetrics.mock.calls[2][0]).toMatchObject({
|
||||
expect(logHealthMetrics.mock.calls[3][0]).toMatchObject({
|
||||
id,
|
||||
timestamp: expect.any(String),
|
||||
status: expect.any(String),
|
||||
|
@ -234,7 +233,7 @@ describe.skip('healthRoute', () => {
|
|||
summarizeMonitoringStats(errorWorkloadStat, getTaskManagerConfig({}))
|
||||
),
|
||||
});
|
||||
expect(logHealthMetrics.mock.calls[2][0]).toMatchObject({
|
||||
expect(logHealthMetrics.mock.calls[3][0]).toMatchObject({
|
||||
id,
|
||||
timestamp: expect.any(String),
|
||||
status: expect.any(String),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue