Skip to content

Commit 3cfa4c7

Browse files
committed
ext4 more
1 parent 509f766 commit 3cfa4c7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/e2e/metriconly/metrics_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,16 @@ var _ = ginkgo.Describe("NPD should export Prometheus metrics.", func() {
131131
instance.RunCommandOrFail("sudo /home/kubernetes/bin/problem-maker --problem Ext4FilesystemError")
132132
})
133133

134-
ginkgo.It("NPD should update problem_counter{reason:Ext4Error} and problem_gauge{type:ReadonlyFilesystem}", func() {
135-
ginkgo.Skip("SSH connection fails.")
136-
time.Sleep(5 * time.Second)
137-
assertMetricValueAtLeast(instance,
138-
"problem_counter", map[string]string{"reason": "Ext4Error"},
139-
1.0)
140-
assertMetricValueInBound(instance,
141-
"problem_gauge", map[string]string{"reason": "FilesystemIsReadOnly", "type": "ReadonlyFilesystem"},
142-
1.0, 1.0)
143-
})
134+
//ginkgo.It("NPD should update problem_counter{reason:Ext4Error} and problem_gauge{type:ReadonlyFilesystem}", func() {
135+
// ginkgo.Skip("SSH connection fails.")
136+
// time.Sleep(5 * time.Second)
137+
// assertMetricValueAtLeast(instance,
138+
// "problem_counter", map[string]string{"reason": "Ext4Error"},
139+
// 1.0)
140+
// assertMetricValueInBound(instance,
141+
// "problem_gauge", map[string]string{"reason": "FilesystemIsReadOnly", "type": "ReadonlyFilesystem"},
142+
// 1.0, 1.0)
143+
//})
144144

145145
ginkgo.It("NPD should remain healthy", func() {
146146
time.Sleep(60 * time.Second)

0 commit comments

Comments
 (0)