fix tests

This commit is contained in:
chrislu 2023-03-13 10:00:27 -07:00
parent 66dd114933
commit 98bc93cf31

View file

@ -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"