Selaa lähdekoodia

Remove test case awaiting fix without bug url (#108358)

Moritz Mack 1 vuosi sitten
vanhempi
commit
bac6001621

+ 0 - 126
x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/rollup/get_jobs.yml

@@ -98,129 +98,3 @@ setup:
 
   - match:
       jobs: []
-
----
-"Test get all jobs":
-
-  - skip:
-      awaits_fix: "Job ordering isn't guaranteed right now, cannot test"
-
-  - do:
-      headers:
-        Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser
-      rollup.put_job:
-        id: foo
-        body:  >
-          {
-            "index_pattern": "foo",
-            "rollup_index": "foo_rollup",
-            "cron": "*/30 * * * * ?",
-            "page_size" :10,
-            "groups" : {
-              "date_histogram": {
-                "field": "the_field",
-                "calendar_interval": "1h"
-              }
-            },
-            "metrics": [
-              {
-                "field": "value_field",
-                "metrics": ["min", "max", "sum"]
-              }
-            ]
-          }
-  - is_true: acknowledged
-
-  - do:
-      headers:
-        Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser
-      rollup.put_job:
-        id: bar
-        body:  >
-          {
-            "index_pattern": "bar",
-            "rollup_index": "foo_rollup",
-            "cron": "*/30 * * * * ?",
-            "page_size" :10,
-            "groups" : {
-              "date_histogram": {
-                "field": "the_field",
-                "calendar_interval": "1h"
-              }
-            },
-            "metrics": [
-              {
-                "field": "value_field",
-                "metrics": ["min", "max", "sum"]
-              }
-            ]
-          }
-  - is_true: acknowledged
-
-  - do:
-      rollup.get_jobs:
-        id: "_all"
-
-  - length: { jobs: 2 }
-  - match:
-      jobs:
-        - config:
-            id: "foo"
-            index_pattern: "foo"
-            rollup_index: "foo_rollup"
-            cron: "*/30 * * * * ?"
-            page_size: 10
-            groups :
-              date_histogram:
-                calendar_interval: "1h"
-                field: "the_field"
-                time_zone: "UTC"
-            metrics:
-              - field: "value_field"
-                metrics:
-                 - "min"
-                 - "max"
-                 - "sum"
-            timeout: "20s"
-          stats:
-            pages_processed: 0
-            documents_processed: 0
-            rollups_indexed: 0
-            trigger_count: 0
-          status:
-            job_state: "stopped"
-        - config:
-            id: "bar"
-            index_pattern: "bar"
-            rollup_index: "foo_rollup"
-            cron: "*/30 * * * * ?"
-            page_size: 10
-            groups :
-              date_histogram:
-                calendar_interval: "1h"
-                field: "the_field"
-                time_zone: "UTC"
-            metrics:
-              - field: "value_field"
-                metrics:
-                 - "min"
-                 - "max"
-                 - "sum"
-            timeout: "20s"
-          stats:
-            pages_processed: 0
-            documents_processed: 0
-            rollups_indexed: 0
-            trigger_count: 0
-            search_failures: 0
-            index_failures: 0
-            index_time_in_ms: 0
-            index_total: 0
-            search_time_in_ms: 0
-            search_total: 0
-            processing_time_in_ms: 0
-            processing_total: 0
-          status:
-            job_state: "stopped"
-
-