diff options
| author | chrislu <chris.lu@gmail.com> | 2023-03-13 10:00:27 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-03-13 10:00:27 -0700 |
| commit | 98bc93cf31c67ad5d8fe67bbc1ccae46a68e1e8d (patch) | |
| tree | b41a0857509cb2ea55dd2448a7a1ea2bf90a3957 /weed/shell/command_volume_server_evacuate_test.go | |
| parent | 66dd11493350a677488e454af6b3ebe9f61bc12a (diff) | |
| download | seaweedfs-98bc93cf31c67ad5d8fe67bbc1ccae46a68e1e8d.tar.xz seaweedfs-98bc93cf31c67ad5d8fe67bbc1ccae46a68e1e8d.zip | |
fix tests
Diffstat (limited to 'weed/shell/command_volume_server_evacuate_test.go')
| -rw-r--r-- | weed/shell/command_volume_server_evacuate_test.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/weed/shell/command_volume_server_evacuate_test.go b/weed/shell/command_volume_server_evacuate_test.go index 4563f38ba..3983c62e1 100644 --- a/weed/shell/command_volume_server_evacuate_test.go +++ b/weed/shell/command_volume_server_evacuate_test.go @@ -6,7 +6,12 @@ import ( ) func TestVolumeServerEvacuate(t *testing.T) { - c := commandVolumeServerEvacuate{} + targetServer := "" + volumeRack := "rack1" + c := commandVolumeServerEvacuate{ + targetServer: &targetServer, + volumeRack: &volumeRack, + } c.topologyInfo = parseOutput(topoData) volumeServer := "192.168.1.4:8080" |
