Skip to content

Commit f392516

Browse files
authored
Merge pull request #974 from hakman/skip-ext4-e2e
Skip ext4 e2e tests
2 parents 3b91ca0 + be75465 commit f392516

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: test/e2e/metriconly/metrics_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ var _ = ginkgo.Describe("NPD should export Prometheus metrics.", func() {
130130
})
131131

132132
ginkgo.It("NPD should update problem_counter{reason:Ext4Error} and problem_gauge{type:ReadonlyFilesystem}", func() {
133+
ginkgo.Skip("Writing to /sys/fs/ext4/sda1/trigger_fs_error breaks SSH: https://github.com/kubernetes/node-problem-detector/issues/970")
133134
time.Sleep(5 * time.Second)
134135
assertMetricValueAtLeast(instance,
135136
"problem_counter", map[string]string{"reason": "Ext4Error"},
@@ -140,6 +141,7 @@ var _ = ginkgo.Describe("NPD should export Prometheus metrics.", func() {
140141
})
141142

142143
ginkgo.It("NPD should remain healthy", func() {
144+
ginkgo.Skip("Writing to /sys/fs/ext4/sda1/trigger_fs_error breaks SSH: https://github.com/kubernetes/node-problem-detector/issues/970")
143145
npdStates := instance.RunCommandOrFail("sudo systemctl show node-problem-detector -p ActiveState -p SubState")
144146
Expect(npdStates.Stdout).To(ContainSubstring("ActiveState=active"), "NPD is no longer active: %v", npdStates)
145147
Expect(npdStates.Stdout).To(ContainSubstring("SubState=running"), "NPD is no longer running: %v", npdStates)

0 commit comments

Comments
 (0)