From 1b48a1e833a4c43d9150b371cb87749369aba809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=85=89=E6=9D=83?= Date: Mon, 21 Mar 2016 14:20:13 +0800 Subject: [PATCH] Fix bug for error count in ipmi_test --- plugins/inputs/ipmi/ipmi_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/ipmi/ipmi_test.go b/plugins/inputs/ipmi/ipmi_test.go index a3f98e918..1e0a57bd1 100644 --- a/plugins/inputs/ipmi/ipmi_test.go +++ b/plugins/inputs/ipmi/ipmi_test.go @@ -178,7 +178,7 @@ func TestIpmi(t *testing.T) { require.NoError(t, err) - assert.Equal(t, acc.NFields(), 2, "non-numeric measurements should be ignored") + assert.Equal(t, acc.NFields(), 266, "non-numeric measurements should be ignored") } func TestIpmiConnection(t *testing.T) {