Skip to content

Commit 2a78921

Browse files
committed
improve temperature test
there is no way to predict the sensor names
1 parent af7d7f7 commit 2a78921

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/snclient/check_temperature_linux_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func TestTemperature(t *testing.T) {
1818
}
1919
assert.Equalf(t, CheckExitOK, res.State, "state ok")
2020
assert.Regexpf(t,
21-
`^OK -.*(core_0|amdgpu_edge): [\d.]+ °C`,
21+
`^OK -.*: [\d.]+ °C`,
2222
string(res.BuildPluginOutput()),
2323
"output matches",
2424
)

0 commit comments

Comments
 (0)