From bb665cf013525a88d59a6a631975ce5a8087a3d8 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Mon, 25 Sep 2017 15:49:01 -0700 Subject: [PATCH] Fix ceph tests with 32bit int --- plugins/inputs/ceph/ceph_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/ceph/ceph_test.go b/plugins/inputs/ceph/ceph_test.go index 4a75acd15..f4a3ebb83 100644 --- a/plugins/inputs/ceph/ceph_test.go +++ b/plugins/inputs/ceph/ceph_test.go @@ -26,7 +26,7 @@ func TestParseSockId(t *testing.T) { func TestParseMonDump(t *testing.T) { dump, err := parseDump(monPerfDump) assert.NoError(t, err) - assert.InEpsilon(t, 5678670180, dump["cluster"]["osd_kb_used"], epsilon) + assert.InEpsilon(t, int64(5678670180), dump["cluster"]["osd_kb_used"], epsilon) assert.InEpsilon(t, 6866.540527000, dump["paxos"]["store_state_latency.sum"], epsilon) }