aboutsummaryrefslogtreecommitdiff
path: root/go/topology/topo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/topology/topo_test.go')
-rw-r--r--go/topology/topo_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/go/topology/topo_test.go b/go/topology/topo_test.go
index 36f4963db..c0edca7c1 100644
--- a/go/topology/topo_test.go
+++ b/go/topology/topo_test.go
@@ -99,9 +99,10 @@ func setup(topologyLayout string) *Topology {
for _, v := range serverMap["volumes"].([]interface{}) {
m := v.(map[string]interface{})
vi := storage.VolumeInfo{
- Id: storage.VolumeId(int64(m["id"].(float64))),
- Size: uint64(m["size"].(float64)),
- Version: storage.CurrentVersion}
+ Id: storage.VolumeId(int64(m["id"].(float64))),
+ Size: uint64(m["size"].(float64)),
+ Collection: "testingCollection",
+ Version: storage.CurrentVersion}
server.AddOrUpdateVolume(vi)
}
server.UpAdjustMaxVolumeCountDelta(int(serverMap["limit"].(float64)))