added prefix settings of the module and rearrange go test code

This commit is contained in:
Roman Plessl 2015-09-13 22:35:38 +02:00
parent 58a2e5eb3b
commit 8a3b5633c4
1 changed files with 16 additions and 15 deletions

View File

@ -50,6 +50,7 @@ func TestWrite(t *testing.T) {
o := &OpenTSDB{
Host: testutil.GetLocalHost(),
Port: 24242,
Prefix: "prefix.test.",
}
// Verify that we can connect to the OpenTSDB instance