Skip to content

Commit 505533b

Browse files
committed
fix test
Signed-off-by: Mario Fernandez <mariofer@redhat.com>
1 parent 9ffe6c7 commit 505533b

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

config/v1alpha1/tests/clustermonitoring.config.openshift.io/ClusterMonitoringConfig.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -359,15 +359,15 @@ tests:
359359
userDefined:
360360
mode: "Disabled"
361361
prometheusK8sConfig:
362-
logLevel: "info"
362+
logLevel: "Info"
363363
expected: |
364364
apiVersion: config.openshift.io/v1alpha1
365365
kind: ClusterMonitoring
366366
spec:
367367
userDefined:
368368
mode: "Disabled"
369369
prometheusK8sConfig:
370-
logLevel: "info"
370+
logLevel: "Info"
371371
- name: Should accept PrometheusK8sConfig with valid nodeSelector
372372
initial: |
373373
apiVersion: config.openshift.io/v1alpha1
@@ -548,8 +548,10 @@ tests:
548548
prometheusK8sConfig:
549549
externalLabels:
550550
labels:
551-
cluster: "production"
552-
environment: "prod"
551+
- key: "cluster"
552+
value: "production"
553+
- key: "environment"
554+
value: "prod"
553555
expected: |
554556
apiVersion: config.openshift.io/v1alpha1
555557
kind: ClusterMonitoring
@@ -559,8 +561,10 @@ tests:
559561
prometheusK8sConfig:
560562
externalLabels:
561563
labels:
562-
cluster: "production"
563-
environment: "prod"
564+
- key: "cluster"
565+
value: "production"
566+
- key: "environment"
567+
value: "prod"
564568
- name: Should reject PrometheusK8sConfig with empty object
565569
initial: |
566570
apiVersion: config.openshift.io/v1alpha1

0 commit comments

Comments
 (0)