1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-30 15:20:10 +02:00

fix TestVolumeServerEvacuate

This commit is contained in:
Konstantin Lebedev 2022-07-12 14:56:34 +05:00
parent 8372721a62
commit 6622240df7

View file

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