Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHealthCheck (0.26 sec)

  1. pkg/kubelet/server/server_test.go

    		// copying the response body did not work
    		t.Errorf("Cannot copy resp: %#v", err)
    	}
    	result := string(body)
    	if result != output {
    		t.Errorf("expected %s, got %s", output, result)
    	}
    }
    
    func TestHealthCheck(t *testing.T) {
    	fw := newServerTest()
    	defer fw.testHTTPServer.Close()
    	fw.fakeKubelet.hostnameFunc = func() string {
    		return "127.0.0.1"
    	}
    
    	// Test with correct hostname, Docker version
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top