Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tpe (0.03 sec)

  1. pilot/pkg/xds/bench_test.go

    			wr := getWatchedResources(tpe, tt, s, proxy)
    			b.ResetTimer()
    			var c model.Resources
    			for n := 0; n < b.N; n++ {
    				c, _, _ = s.Discovery.Generators[tpe].Generate(proxy, wr, &model.PushRequest{Full: true, Push: s.PushContext()})
    				if len(c) == 0 {
    					b.Fatalf("Got no %v's!", tpe)
    				}
    			}
    			logDebug(b, c)
    		})
    	}
    }
    
    func testBenchmark(t *testing.T, tpe string, testCases []ConfigInput) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. pkg/adsc/delta_test.go

    				if rec == nil && len(rec) != len(tt.expectedDeltaResources.lastReceived) {
    					return false
    				}
    				for tpe, rsrcs := range tt.expectedDeltaResources.lastReceived {
    					if _, ok := rec[tpe]; !ok {
    						return false
    					}
    					if len(rsrcs.Resources) != len(rec[tpe].Resources) {
    						return false
    					}
    				}
    				return true
    			}, true, retry.Timeout(time.Second), retry.Delay(time.Millisecond))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. tests/integration/ambient/baseline_test.go

    				expectMTLS := c.ExpectMTLS(src, opt)
    
    				var tpe string
    				if expectSuccess {
    					tpe = "positive"
    					opt.Check = check.And(
    						check.OK(),
    						check.ReachedTargetClusters(t))
    					if expectMTLS {
    						opt.Check = check.And(opt.Check, check.MTLSForHTTP())
    					}
    				} else {
    					tpe = "negative"
    					opt.Check = check.NotOK()
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top