From 93dd79231288786b8abae1bf4ce8e4b87f18df31 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Wed, 15 Jul 2015 17:08:17 -0700 Subject: [PATCH] Fix the gce_test due to the merge. --- pkg/cloudprovider/gce/gce_test.go | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/pkg/cloudprovider/gce/gce_test.go b/pkg/cloudprovider/gce/gce_test.go index bc2ae1a4a5c..34ff3b3382e 100644 --- a/pkg/cloudprovider/gce/gce_test.go +++ b/pkg/cloudprovider/gce/gce_test.go @@ -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