- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestRepairLeak (0.11 sec)
-
pkg/registry/core/service/portallocator/controller/repair_test.go
if err != nil { t.Errorf("failed to get %s value, err: %v", nodePortRepairReconcileErrors.Name, err) } if repairErrors != 1 { t.Fatalf("1 error expected, got %v", repairErrors) } } func TestRepairLeak(t *testing.T) { clearMetrics() pr, _ := net.ParsePortRange("100-200") previous, err := portallocator.NewInMemory(*pr) if err != nil { t.Fatal(err) } previous.Allocate(111)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repair_test.go
} r = NewRepair(0, fakeClient.CoreV1(), fakeClient.EventsV1(), cidr, ipregistry, nil, nil) if err := r.runOnce(); !strings.Contains(err.Error(), ": test error") { t.Fatal(err) } } func TestRepairLeak(t *testing.T) { clearMetrics() _, cidr, _ := netutils.ParseCIDRSloppy("192.168.1.0/24") previous, err := ipallocator.NewInMemory(cidr) if err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 21.1K bytes - Viewed (0)