Merge pull request #1167 from otoolep/seed_test_fixes

Remove test of obsolete config param
pull/1174/head
Philip O'Toole 2014-11-25 13:47:06 -08:00
commit 078ff526d4
1 changed files with 0 additions and 2 deletions

View File

@ -91,8 +91,6 @@ func TestParseConfig(t *testing.T) {
t.Fatalf("min backoff mismatch: %v", c.Cluster.MinBackoff) t.Fatalf("min backoff mismatch: %v", c.Cluster.MinBackoff)
} else if time.Duration(c.Cluster.MaxBackoff) != 1*time.Second { } else if time.Duration(c.Cluster.MaxBackoff) != 1*time.Second {
t.Fatalf("max backoff mismatch: %v", c.Cluster.MaxBackoff) t.Fatalf("max backoff mismatch: %v", c.Cluster.MaxBackoff)
} else if !reflect.DeepEqual(c.Cluster.SeedServers, []string{"hosta:8090", "hostb:8090"}) {
t.Fatalf("seed servers mismatch: %+v", c.Cluster.SeedServers)
} else if c.Cluster.MaxResponseBufferSize != 5 { } else if c.Cluster.MaxResponseBufferSize != 5 {
t.Fatalf("max response buffer size mismatch: %v", c.Cluster.MaxResponseBufferSize) t.Fatalf("max response buffer size mismatch: %v", c.Cluster.MaxResponseBufferSize)
} }