Skip to content

[8.19] [ResponseOps] Fixes failing test: Jest Integration Tests.x-pack/platform/plugins/shared/task_manager/server/integration_tests - unrecognized task types should be no workload aggregator errors when there are removed task types (#221854) #222106

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

Open
wants to merge 2 commits into
base: 8.19
Choose a base branch
from

Conversation

kibanamachine
Copy link
Contributor

…orm/plugins/shared/task_manager/server/integration_tests - unrecognized task types should be no workload aggregator errors when there are removed task types (elastic#221854)

Resolves elastic#208459

## Summary

Unskips flaky test that was failing with the error below. This PR
updates the test to wait until the task is finished running before
checking that the status is marked as `unrecognized`.
```
Error: expect(received).toBe(expected) // Object.is equality

Expected: "unrecognized"
Received: "idle"
    at toBe (/opt/buildkite-agent/
```

(cherry picked from commit bc22fe0)
@elasticmachine
Copy link
Contributor

elasticmachine commented May 30, 2025

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #56 / APM API tests service_maps/service_maps.spec.ts trial apm_8.0.0 Service Map with data /internal/apm/service-map with data with ML data with the default apm user returns the correct anomaly stats
  • [job] [logs] FTR Configs #18 / Embeddable Alerts Table Embeddable alerts panel "before all" hook for "should only show alerts from the observability area (o11y+stack) when selecting it"
  • [job] [logs] FTR Configs #18 / Embeddable Alerts Table Embeddable alerts panel "before all" hook for "should only show alerts from the observability area (o11y+stack) when selecting it"

Metrics [docs]

✅ unchanged

History

cc @doakalexi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants