github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/coralogix.com/RecordingRuleGroupSet/health_test.yaml (about)

     1  tests:
     2  - healthStatus:
     3      status: Degraded
     4      message: >-
     5        error on creating remote recordingRuleGroupSet: SDK API error from /com.coralogixapis.metrics_rule_manager.v1.RuleGroupSets/Create for feature group recording-rules: rpc error: code = InvalidArgument desc = {
     6          "groups": {
     7            "0": {
     8              "rules": {
     9                "0": {
    10                  "record": [
    11                    {
    12                      "code": "length",
    13                      "message": null,
    14                      "params": {
    15                        "value": "",
    16                        "min": 1
    17                      }
    18                    },
    19                    {
    20                      "code": "invalid_promql",
    21                      "message": "SingleExpr: unexpected token ; want \"\"(\", \"{\", \"-\", \"+\"\"",
    22                      "params": {
    23                        "value": ""
    24                      }
    25                    }
    26                  ]
    27                }
    28              }
    29            }
    30          }
    31        }
    32  
    33    inputPath: testdata/degraded_recording_rule.yaml
    34  - healthStatus:
    35      status: Progressing
    36      message: "Waiting for status to be updated"
    37    inputPath: testdata/progressing_recording_rule.yaml
    38  - healthStatus:
    39      status: Healthy
    40      message: "Resource is ready"
    41    inputPath: testdata/healthy_recording_rule.yaml