- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DrainResponses (0.16 sec)
-
pilot/pkg/xds/adstest.go
case <-a.context.Done(): } return } select { case a.responses <- resp: case <-a.context.Done(): return } } } // DrainResponses reads all responses, but does nothing to them func (a *AdsTest) DrainResponses() { for { select { case <-a.context.Done(): return case r := <-a.responses: log.Infof("drained response %v", r.TypeUrl) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 04 03:39:42 UTC 2024 - 6K bytes - Viewed (0) -
pilot/pkg/xds/deltaadstest.go
case <-a.context.Done(): } return } select { case a.responses <- resp: case <-a.context.Done(): return } } } // DrainResponses reads all responses, but does nothing to them func (a *DeltaAdsTest) DrainResponses() { a.t.Helper() for { select { case <-a.context.Done(): return case r := <-a.responses: log.Infof("drained response %v", r.TypeUrl) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 04 03:39:42 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/istio-agent/agent_test.go
// Ensure we output the certs checkCertsWritten(t, dir) // We rotate immediately, so we expect these files to be constantly updated go sds[security.WorkloadKeyCertResourceName].DrainResponses() expectFileChanged(t, filepath.Join(dir, "cert-chain.pem"), filepath.Join(dir, "key.pem")) }) t.Run("Kubernetes defaults - output key and cert without SDS", func(t *testing.T) { dir := mktemp()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 33.4K bytes - Viewed (0)