Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPrometheusPathAndPort (0.28 sec)

  1. operator/pkg/util/k8s_test.go

    			t.Fatalf("Failure in test case %v. Expected No Error. Got %s", i, err)
    		} else if tt.expErr && err == nil {
    			t.Fatalf("Failure in test case %v. Expected Error. Got No error", i)
    		}
    	}
    }
    
    func TestPrometheusPathAndPort(t *testing.T) {
    	cases := []struct {
    		pod  *v1.Pod
    		path string
    		port int
    	}{
    		{
    			pod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "case-1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top