Browse Source

update test

pull/279/head
tnextday 10 years ago
parent
commit
dcbe46f0c0
  1. 4
      weed/topology/topo_test.go

4
weed/topology/topo_test.go

@ -7,11 +7,11 @@ import (
func TestRemoveDataCenter(t *testing.T) {
topo := setup(topologyLayout)
topo.UnlinkChildNode(NodeId("dc2"))
if topo.GetActiveVolumeCount() != 15 {
if topo.GetActiveVolumeCount() != 18 {
t.Fail()
}
topo.UnlinkChildNode(NodeId("dc3"))
if topo.GetActiveVolumeCount() != 12 {
if topo.GetActiveVolumeCount() != 15 {
t.Fail()
}
}
Loading…
Cancel
Save