Skip to content

Commit

Permalink
updating unit test to work with mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislovecnm committed Oct 11, 2016
1 parent 7832910 commit 13a023c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# place holder file to create the default directory for CNI plugins
4 changes: 2 additions & 2 deletions upup/pkg/fi/cloudup/populatecluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ func TestPopulateCluster_CNI(t *testing.T) {
CloudProvider: c.Spec.CloudProvider,
}

c.Spec.NetworkCIDR = "172.20.2.0/24"
/*
c.Spec.Zones = []*api.ClusterZoneSpec{
{Name: "us-west-2a", CIDR: "172.20.2.0/27"},
{Name: "us-west-2b", CIDR: "172.20.2.32/27"},
{Name: "us-west-2c", CIDR: "172.20.2.64/27"},
}
}*/

full, err := build(c)
if err != nil {
Expand Down

0 comments on commit 13a023c

Please sign in to comment.