github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/AnalysisRun/health_test.yaml (about)

     1  tests:
     2  - healthStatus:
     3      status: Progressing
     4      message: "Analysis run is running"
     5    inputPath: testdata/pendingAnalysisRun.yaml
     6  - healthStatus:
     7      status: Progressing
     8      message: "Waiting for analysis run to finish: status has not been reconciled."
     9    inputPath: testdata/noStatusAnalysisRun.yaml
    10  - healthStatus:
    11      status: Progressing
    12      message: "Analysis run is running"
    13    inputPath: testdata/runningAnalysisRun.yaml
    14  - healthStatus:
    15      status: Healthy
    16      message: "Analysis run completed successfully"
    17    inputPath: testdata/successfulAnalysisRun.yaml
    18  - healthStatus:
    19      status: Degraded
    20      message: "Analysis run failed"
    21    inputPath: testdata/failedAnalysisRun.yaml
    22  - healthStatus:
    23      status: Degraded
    24      message: "Status Message: Assessed as Failed"
    25    inputPath: testdata/failedAnalysisRunWithStatusMessage.yaml
    26  - healthStatus:
    27      status: Degraded
    28      message: "Analysis run had an error"
    29    inputPath: testdata/errorAnalysisRun.yaml
    30  - healthStatus:
    31      status: Degraded
    32      message: "Status Message: Assessed as Error"
    33    inputPath: testdata/errorAnalysisRunWithStatusMessage.yaml
    34  - healthStatus:
    35      status: Unknown
    36      message: "Analysis run was inconclusive"
    37    inputPath: testdata/inconclusiveAnalysisRun.yaml
    38  - healthStatus:
    39      status: Unknown
    40      message: "Status Message: Assessed as Inconclusive"
    41    inputPath: testdata/inconclusiveAnalysisRunWithStatusMessage.yaml
    42  - healthStatus:
    43      status: Healthy
    44      message: "run terminated"
    45    inputPath: testdata/terminatedAnalysisRun.yaml