added prefix settings of the module and rearrange go test code
This commit is contained in:
parent
08b220a1fb
commit
fc41cc9878
|
@ -48,8 +48,9 @@ func TestWrite(t *testing.T) {
|
|||
}
|
||||
|
||||
o := &OpenTSDB{
|
||||
Host: testutil.GetLocalHost() ,
|
||||
Host: testutil.GetLocalHost(),
|
||||
Port: 24242,
|
||||
Prefix: "prefix.test.",
|
||||
}
|
||||
|
||||
// Verify that we can connect to the OpenTSDB instance
|
||||
|
|
Loading…
Reference in New Issue