- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for withT (0.09 sec)
-
pilot/pkg/networking/core/route/retry/retry_test.go
}, }, { name: "TestZeroAttemptsShouldReturnNilPolicy", // Create a route with a retry policy with zero attempts configured. route: &networking.HTTPRoute{ Retries: &networking.HTTPRetry{ // Explicitly not retrying. Attempts: 0, }, }, assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) { g.Expect(policy).To(BeNil()) }, }, { name: "TestRetryWithAllFieldsSet",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 7.7K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
} // mustGetService returns the service with the given name or fails if it's not found in objs. func mustGetService(g *WithT, objs *ObjectSet, name string) *object.K8sObject { obj := objs.kind(name2.ServiceStr).nameEquals(name) g.Expect(obj).Should(Not(BeNil())) return obj } // mustGetDeployment returns the deployment with the given name or fails if it's not found in objs.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 15.3K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
} // withT swaps out the testing struct. This allows executing sub tests. func (sim *Simulation) withT(t *testing.T) *Simulation { cpy := *sim cpy.t = t return &cpy } func (sim *Simulation) RunExpectations(es []Expect) { for _, e := range es { sim.t.Run(e.Name, func(t *testing.T) { sim.withT(t).Run(e.Call).Matches(t, e.Result) }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
src/net/http/transport_internal_test.go
c, err := ln.Accept() if err != nil { t.Error(err) return } connc <- c }() tr := new(Transport) req, _ := NewRequest("GET", "http://"+ln.Addr().String(), nil) req = req.WithT(t) ctx, cancel := context.WithCancelCause(context.Background()) treq := &transportRequest{Request: req, ctx: ctx, cancel: cancel} cm := connectMethod{targetScheme: "http", targetAddr: ln.Addr().String()}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:57:17 UTC 2024 - 6.2K bytes - Viewed (0) -
src/net/http/export_test.go
states := map[ConnState]int{} s.mu.Lock() defer s.mu.Unlock() for c := range s.activeConn { st, _ := c.getState() states[st] += 1 } return states } func (r *Request) WithT(t *testing.T) *Request { return r.WithContext(context.WithValue(r.Context(), tLogKey{}, t.Logf)) } func ExportSetH2GoawayTimeout(d time.Duration) (restore func()) { old := http2goAwayTimeout
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 8.7K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
testResourceFile := "duplicate_mwc" testCases := []struct { name string force bool assertFunc func(g *WithT, objs *ObjectSet, err error) }{ { name: "Duplicate MutatingWebhookConfiguration should be allowed when --force is enabled", force: true, assertFunc: func(g *WithT, objs *ObjectSet, err error) { g.Expect(err).Should(BeNil())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
src/net/http/client_test.go
t.Errorf("with default client Do, expected error %q, got %q", e, g) } // Requests with an empty Method should also redirect (Issue 12705) greq.Method = "" _, err = c.Do(greq) if e, g := `Get "/?n=10": stopped after 10 redirects`, fmt.Sprintf("%v", err); e != g { t.Errorf("with default client Do and empty Method, expected error %q, got %q", e, g) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/net/http/transport.go
// alternate protocol (such as HTTP/2) after a TLS ALPN // protocol negotiation. If Transport dials a TLS connection // with a non-empty protocol name and TLSNextProto contains a // map entry for that key (such as "h2"), then the func is // called with the request's authority (such as "example.com" // or "example.com:1234") and the TLS connection. The function
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0) -
clause/with.go
package clause
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 35 bytes - Viewed (0) -
platforms/software/dependency-management/src/test/resources/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializerTest/ivy/with-dependencies.xml
</info> <configurations> <conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/> <conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.3K bytes - Viewed (0)