Browse Source

fix tests

pull/3266/head
chrislu 3 years ago
parent
commit
bee3a7c798
  1. 3
      weed/shell/command_volume_server_evacuate_test.go

3
weed/shell/command_volume_server_evacuate_test.go

@ -10,7 +10,8 @@ func TestVolumeServerEvacuate(t *testing.T) {
volumeServer := "192.168.1.4:8080" volumeServer := "192.168.1.4:8080"
if err := evacuateNormalVolumes(nil, topologyInfo, volumeServer, true, false, os.Stdout); err != nil {
c := commandVolumeServerEvacuate{}
if err := c.evacuateNormalVolumes(nil, topologyInfo, volumeServer, true, false, os.Stdout); err != nil {
t.Errorf("evacuate: %v", err) t.Errorf("evacuate: %v", err)
} }

Loading…
Cancel
Save