mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix tests
This commit is contained in:
parent
66dd114933
commit
98bc93cf31
|
@ -6,7 +6,12 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestVolumeServerEvacuate(t *testing.T) {
|
func TestVolumeServerEvacuate(t *testing.T) {
|
||||||
c := commandVolumeServerEvacuate{}
|
targetServer := ""
|
||||||
|
volumeRack := "rack1"
|
||||||
|
c := commandVolumeServerEvacuate{
|
||||||
|
targetServer: &targetServer,
|
||||||
|
volumeRack: &volumeRack,
|
||||||
|
}
|
||||||
c.topologyInfo = parseOutput(topoData)
|
c.topologyInfo = parseOutput(topoData)
|
||||||
|
|
||||||
volumeServer := "192.168.1.4:8080"
|
volumeServer := "192.168.1.4:8080"
|
||||||
|
|
Loading…
Reference in a new issue