- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testClone (0.19 sec)
-
src/net/http/transport_test.go
} ln := newLocalListener(t) defer ln.Close() var wg sync.WaitGroup SetPendingDialHooks(func() { wg.Add(1) }, wg.Done) defer SetPendingDialHooks(nil, nil) testDone := make(chan struct{}) defer close(testDone) go func() { tln := tls.NewListener(ln, &tls.Config{ NextProtos: []string{"foo"}, Certificates: []tls.Certificate{cert}, }) sc, err := tln.Accept()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
src/net/http/serve_test.go
6: {"/testThree?foo", "CONNECT", "foo", true}, 7: {"/testThree/?foo", "CONNECT", "foo:bar", true}, // canonicalization or not 8: {"/testOne/foo/..?foo", "GET", "foo", true}, 9: {"/testOne/foo/..?foo", "CONNECT", "404 page not found\n", false}, } for i, tt := range tests { req, _ := NewRequest(tt.method, ts.URL+tt.path, nil) res, err := ts.Client().Do(req) if err != nil { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
} got := f.ListPlugins() if diff := cmp.Diff(tt.want, got); diff != "" { t.Errorf("unexpected plugins (-want,+got):\n%s", diff) } }) } } func TestClose(t *testing.T) { tests := []struct { name string plugins *config.Plugins wantErr error }{ { name: "close doesn't return error", plugins: &config.Plugins{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0)