domain name only in tags

This commit is contained in:
Miki 2016-02-09 10:57:57 +01:00
parent 58dccab54b
commit cd45dd91a7
1 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,10 @@ import (
func TestDovecot(t *testing.T) {
if testing.Short() {
t.Skip("Skipping integration test in short mode")
}
var acc testutil.Accumulator
tags := map[string]string{"server": "dovecot.test", "domain": "domain.test"}
buf := bytes.NewBufferString(sampleStats)
@ -23,7 +27,6 @@ func TestDovecot(t *testing.T) {
require.NoError(t, err)
fields := map[string]interface{}{
"domain": "domain.test",
"reset_timestamp": time.Unix(1453969886, 0),
"last_update": time.Unix(1454603963, 39864),
"num_logins": int64(7503897),