Skip to content

Commit

Permalink
openldap: need to switch to HasInt64Field because of changes in influ…
Browse files Browse the repository at this point in the history
  • Loading branch information
acobaugh committed Jun 28, 2017
1 parent 0e6230c commit 80dd38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/openldap/openldap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ func commonTests(t *testing.T, o *Openldap, acc *testutil.Accumulator) {
assert.True(t, acc.HasMeasurement("openldap"), "Has a measurement called 'openldap'")
assert.Equal(t, o.Host, acc.TagValue("openldap", "server"), "Has a tag value of server=o.Host")
assert.Equal(t, strconv.Itoa(o.Port), acc.TagValue("openldap", "port"), "Has a tag value of port=o.Port")
assert.True(t, acc.HasIntField("openldap", "total_connections"), "Has an integer field called total_connections")
assert.True(t, acc.HasInt64Field("openldap", "total_connections"), "Has an integer field called total_connections")
}

0 comments on commit 80dd38b

Please sign in to comment.