Fix the gce_test due to the merge.

This commit is contained in:
Brendan Burns
2015-07-15 17:08:17 -07:00
parent e05ac1267c
commit 93dd792312

View File

@@ -37,30 +37,6 @@ func TestGetRegion(t *testing.T) {
}
}
func TestGetHostTag(t *testing.T) {
tests := []struct {
host string
expected string
}{
{
host: "kubernetes-minion-559o",
expected: "kubernetes-minion",
},
{
host: "gke-test-ea6e8c80-node-8ytk",
expected: "gke-test-ea6e8c80-node",
},
}
gce := &GCECloud{}
for _, test := range tests {
hostTag := gce.computeHostTag(test.host)
if hostTag != test.expected {
t.Errorf("expected: %s, saw: %s for %s", test.expected, hostTag, test.host)
}
}
}
func TestComparingHostURLs(t *testing.T) {
tests := []struct {
host1 string