diff --git a/pkg/kubelet/server_test.go b/pkg/kubelet/server_test.go index 00a31270c52..b186e1be209 100644 --- a/pkg/kubelet/server_test.go +++ b/pkg/kubelet/server_test.go @@ -484,7 +484,7 @@ func TestHealthCheck(t *testing.T) { } defer resp.Body.Close() if resp.StatusCode != http.StatusInternalServerError { - t.Errorf("expected status code %d, got %d", http.StatusOK, resp.StatusCode) + t.Errorf("expected status code %d, got %d", http.StatusInternalServerError, resp.StatusCode) } //Test with old docker version