Skip to content

Failing test: X-Pack Spaces API Integration Tests -- security_and_spaces.x-pack/test/spaces_api_integration/security_and_spaces/apis/delete·ts - spaces api with security delete dual-privileges user from the space_1 space should return 204 #31864

@kibanamachine

Description

@kibanamachine

A test failed on a tracked branch


        { Error: expected [ { key: 'default',
    doc_count: 5,
    countByType: 
     { doc_count_error_upper_bound: 0,
       sum_other_doc_count: 0,
       buckets: [Object] } },
  { key: 'space_1',
    doc_count: 2,
    countByType: 
     { doc_count_error_upper_bound: 0,
       sum_other_doc_count: 0,
       buckets: [Object] } } ] to sort of equal [ { key: 'default',
    doc_count: 4,
    countByType: 
     { doc_count_error_upper_bound: 0,
       sum_other_doc_count: 0,
       buckets: [Object] } },
  { doc_count: 2,
    key: 'space_1',
    countByType: 
     { doc_count_error_upper_bound: 0,
       sum_other_doc_count: 0,
       buckets: [Object] } } ]
    at Assertion.assert (/var/lib/jenkins/workspace/elastic+kibana+7.x/JOB/x-pack-ciGroup5/node/immutable/kibana/node_modules/expect.js/index.js:96:13)
    at Assertion.eql (/var/lib/jenkins/workspace/elastic+kibana+7.x/JOB/x-pack-ciGroup5/node/immutable/kibana/node_modules/expect.js/index.js:230:10)
    at expectEmptyResult (test/spaces_api_integration/common/suites/delete.ts:87:41)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  actual:
   '[\n  {\n    "countByType": {\n      "buckets": [\n        {\n          "doc_count": 2\n          "key": "space"\n        }\n        {\n          "doc_count": 1\n          "key": "config"\n        }\n        {\n          "doc_count": 1\n          "key": "dashboard"\n        }\n        {\n          "doc_count": 1\n          "key": "maps-telemetry"\n        }\n      ]\n      "doc_count_error_upper_bound": 0\n      "sum_other_doc_count": 0\n    }\n    "doc_count": 5\n    "key": "default"\n  }\n  {\n    "countByType": {\n      "buckets": [\n        {\n          "doc_count": 1\n          "key": "config"\n        }\n        {\n          "doc_count": 1\n          "key": "dashboard"\n        }\n      ]\n      "doc_count_error_upper_bound": 0\n      "sum_other_doc_count": 0\n    }\n    "doc_count": 2\n    "key": "space_1"\n  }\n]',
  expected:
   '[\n  {\n    "countByType": {\n      "buckets": [\n        {\n          "doc_count": 2\n          "key": "space"\n        }\n        {\n          "doc_count": 1\n          "key": "config"\n        }\n        {\n          "doc_count": 1\n          "key": "dashboard"\n        }\n      ]\n      "doc_count_error_upper_bound": 0\n      "sum_other_doc_count": 0\n    }\n    "doc_count": 4\n    "key": "default"\n  }\n  {\n    "countByType": {\n      "buckets": [\n        {\n          "doc_count": 1\n          "key": "config"\n        }\n        {\n          "doc_count": 1\n          "key": "dashboard"\n        }\n      ]\n      "doc_count_error_upper_bound": 0\n      "sum_other_doc_count": 0\n    }\n    "doc_count": 2\n    "key": "space_1"\n  }\n]',
  showDiff: true }
      

First failure: Jenkins Build

Metadata

Metadata

Assignees

Labels

failed-testA test failure on a tracked branch, potentially flaky-test

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions