- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestDial (0.14 sec)
-
pkg/client/tests/remotecommand_test.go
// This method ensures that someone can use a generic stream executor without being dependent // on the core Kube client config behavior. func TestDial(t *testing.T) { upgrader := &fakeUpgrader{ t: t, checkResponse: true, conn: &fakeConnection{}, resp: &http.Response{ StatusCode: http.StatusSwitchingProtocols,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 10.2K bytes - Viewed (0) -
src/log/syslog/syslog_test.go
} f, err := NewLogger(LOG_USER|LOG_INFO, 0) if f == nil { if err.Error() == "Unix syslog delivery error" { t.Skip("skipping: syslogd not running") } t.Error(err) } } func TestDial(t *testing.T) { if testing.Short() { t.Skip("skipping syslog test during -short") } f, err := Dial("", "", (LOG_LOCAL7|LOG_DEBUG)+1, "syslog_test") if f != nil { t.Fatalf("Should have trapped bad priority")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 16:09:24 UTC 2023 - 9.6K bytes - Viewed (0) -
src/net/http/transport_test.go
} func testTransportConnectionCloseOnResponse(t *testing.T, mode testMode) { ts := newClientServerTest(t, mode, hostPortHandler).ts connSet, testDial := makeTestDial(t) c := ts.Client() tr := c.Transport.(*Transport) tr.Dial = testDial for _, connectionClose := range []bool{false, true} { fetch := func(n int) string { req := new(Request) var err error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)