- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TestTproxy (0.09 sec)
-
tests/integration/pilot/original_src_addr_test.go
// limitations under the License. package pilot import ( "fmt" "testing" "istio.io/istio/pkg/test/framework" "istio.io/istio/pkg/test/framework/components/echo" ) func TestTproxy(t *testing.T) { // nolint: staticcheck framework. NewTest(t). RequiresSingleCluster(). Run(func(t framework.TestContext) { if t.Settings().Skip(echo.TProxy) { t.Skip() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/xds/server_test.go
"istio.io/istio/pkg/model" ) type TestProxy struct { WatchedResources map[string]*WatchedResource } func (p *TestProxy) DeleteWatchedResource(url string) { delete(p.WatchedResources, url) } func (p *TestProxy) GetWatchedResource(url string) *WatchedResource { return p.WatchedResources[url] } func (p *TestProxy) NewWatchedResource(url string, names []string) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/envoy/agent_test.go
"listener.admin.main_thread.downstream_cx_active: 2" // TestProxy sample struct for proxy type TestProxy struct { run func(<-chan error) error cleanup func() blockChannel chan any } func (tp TestProxy) Run(stop <-chan error) error { if tp.run == nil { return nil } return tp.run(stop) } func (tp TestProxy) Drain(bool) error { tp.blockChannel <- "unblock" return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 19 20:22:09 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/envoy/proxy_test.go
Concurrency: 8, } test := &envoy{ ProxyConfig: cfg, extraArgs: []string{"-l", "trace", "--component-log-level", "misc:error"}, } testProxy := NewProxy(cfg) if !reflect.DeepEqual(testProxy, test) { t.Errorf("unexpected struct got\n%v\nwant\n%v", testProxy, test) } got := test.args("test.json", "testdata/bootstrap.json") want := []string{ "-c", "test.json", "--drain-time-s", "45",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 11:45:51 UTC 2024 - 3.2K bytes - Viewed (0)