mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
github action add testcase
This commit is contained in:
@@ -62,6 +62,7 @@ func TestGetIPFromDHCP(t *testing.T) {
|
||||
}
|
||||
|
||||
manager := NewDHCPManager(clientset, "test", nil)
|
||||
manager.InitDHCP()
|
||||
for i := 0; i < 10; i++ {
|
||||
ipNet, err := manager.RentIPRandom()
|
||||
ipNet2, err := manager.RentIPRandom()
|
||||
|
||||
Reference in New Issue
Block a user