Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCollectServiceNodePorts (4.82 sec)

  1. pkg/registry/core/service/portallocator/controller/repair_test.go

    	}
    	em := testMetrics{
    		leak:       0,
    		repair:     4,
    		outOfRange: 1,
    		duplicate:  1,
    		unknown:    0,
    	}
    	expectMetrics(t, em)
    }
    
    func TestCollectServiceNodePorts(t *testing.T) {
    	tests := []struct {
    		name        string
    		serviceSpec corev1.ServiceSpec
    		expected    []int
    	}{
    		{
    			name: "no duplicated nodePorts",
    			serviceSpec: corev1.ServiceSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top