Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCidrSetMetrics (0.13 sec)

  1. pkg/controller/nodeipam/ipam/cidrset/cidr_set_test.go

    			}
    			if !tc.expectErr {
    				if p2 != nil && p2.String() != tc.expectedCIDR2 {
    					t.Fatalf("a.AllocateNext() got %+v, want %+v", p2.String(), tc.expectedCIDR)
    				}
    			}
    		})
    	}
    }
    
    func TestCidrSetMetrics(t *testing.T) {
    	cidr := "10.0.0.0/16"
    	_, clusterCIDR, _ := netutils.ParseCIDRSloppy(cidr)
    	clearMetrics(map[string]string{"clusterCIDR": cidr})
    
    	// We have 256 free cidrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 29.5K bytes
    - Viewed (0)
Back to top