force OpenTSDB to use IPv4 formats

pull/2330/head
Cory LaNou 2015-04-16 16:15:19 -06:00 committed by Philip O'Toole
parent 0469d8e283
commit 6de52d5046
1 changed files with 3 additions and 0 deletions

View File

@ -1837,6 +1837,7 @@ func Test_ServerOpenTSDBIntegration(t *testing.T) {
now := time.Now().UTC().Round(time.Second)
c, _ := main.NewTestConfig()
o := main.OpenTSDB{
Addr: "127.0.0.1",
Port: 0,
Enabled: true,
Database: "opentsdb",
@ -1892,6 +1893,7 @@ func Test_ServerOpenTSDBIntegration_WithTags(t *testing.T) {
c.Port = 0
c.Admin.Enabled = false
o := main.OpenTSDB{
Addr: "127.0.0.1",
Port: 0,
Enabled: true,
Database: "opentsdb",
@ -1950,6 +1952,7 @@ func Test_ServerOpenTSDBIntegration_BadData(t *testing.T) {
c.Port = 0
c.Admin.Enabled = false
o := main.OpenTSDB{
Addr: "127.0.0.1",
Port: 0,
Enabled: true,
Database: "opentsdb",