Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSortPodIPs (0.21 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    			}
    			if status.PodIP != status.PodIPs[0].IP {
    				t.Fatalf("Expected PodIP %q to equal PodIPs[0].IP %q", status.PodIP, status.PodIPs[0].IP)
    			}
    		})
    	}
    }
    
    func TestSortPodIPs(t *testing.T) {
    	testcases := []struct {
    		name        string
    		nodeIP      string
    		podIPs      []string
    		expectedIPs []string
    	}{
    		{
    			name:        "Simple",
    			nodeIP:      "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top