aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_server_evacuate_test.go
blob: 5753af78b9f44c694b99b87570422349cf3b14cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package shell

import (
	"os"
	"testing"
)

func TestVolumeServerEvacuate(t *testing.T) {
	topologyInfo := parseOutput(topoData)

	volumeServer := "192.168.1.4:8080"

	if err := evacuateNormalVolumes(nil, topologyInfo, volumeServer, true, false, os.Stdout); err != nil {
		t.Errorf("evacuate: %v", err)
	}

}