diff --git a/weed/topology/topo_test.go b/weed/topology/topo_test.go index 9a0dbc6b8..9e823ba0f 100644 --- a/weed/topology/topo_test.go +++ b/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() } }