Fix ceph tests with 32bit int

This commit is contained in:
Daniel Nelson 2017-09-25 15:49:01 -07:00 committed by Daniel Nelson
parent 5dff5932fd
commit bb665cf013
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}