Browse Source

fix tests

pull/4304/head
chrislu 2 years ago
parent
commit
98bc93cf31
  1. 7
      weed/shell/command_volume_server_evacuate_test.go

7
weed/shell/command_volume_server_evacuate_test.go

@ -6,7 +6,12 @@ import (
)
func TestVolumeServerEvacuate(t *testing.T) {
c := commandVolumeServerEvacuate{}
targetServer := ""
volumeRack := "rack1"
c := commandVolumeServerEvacuate{
targetServer: &targetServer,
volumeRack: &volumeRack,
}
c.topologyInfo = parseOutput(topoData)
volumeServer := "192.168.1.4:8080"

Loading…
Cancel
Save