Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for notok (0.16 sec)

  1. tests/integration/pilot/gateway_test.go

    	testCases := []struct {
    		check echo.Checker
    		from  echo.Instances
    		host  string
    	}{
    		{
    			check: check.OK(),
    			from:  apps.B,
    			host:  "bar.example.com",
    		},
    		{
    			check: check.NotOK(),
    			from:  apps.B,
    			host:  "bar",
    		},
    	}
    	if t.Settings().EnableDualStack {
    		additionalTestCases := []struct {
    			check echo.Checker
    			from  echo.Instances
    			host  string
    		}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. tests/integration/security/ca_custom_root/secure_naming_test.go

    										Name: "http",
    									},
    								}
    								if tc.expectSuccess {
    									opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    								} else {
    									opts.Check = check.NotOK()
    								}
    
    								a.CallOrFail(t, opts)
    							})
    					}
    				})
    			}
    		})
    }
    
    func verifyCertificatesWithPluginCA(t framework.TestContext, certs []string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tests/integration/security/util/reachability/context.go

    									if expectMTLS {
    										opts.Check = check.And(opts.Check,
    											check.MTLSForHTTP())
    									}
    								} else {
    									tpe = "negative"
    									opts.Check = check.NotOK()
    								}
    								include := c.Include
    								if include == nil {
    									include = func(_ echo.Instance, _ echo.CallOptions) bool { return true }
    								}
    								if include(from, opts) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 23 21:20:43 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  4. tests/integration/security/reachability_test.go

    											} else {
    												opts.Check = check.And(opts.Check, check.ReachedClusters(t.Clusters(), expectedClusters))
    											}
    										}
    									} else {
    										opts.Check = check.NotOK()
    									}
    									from.CallOrFail(t, opts)
    								})
    						})
    					}
    				})
    			}
    		})
    }
    
    type condition func(from echo.Instance, opts echo.CallOptions) bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. tests/integration/ambient/baseline_test.go

    									if !src.Config().WaypointClient() && dst.Config().HasAnyWaypointProxy() {
    										// TODO currently leads to no L7 processing, in the future it might be denied
    										// opt.Check = check.NotOK()
    										opt.Check = tcpValidator
    									}
    
    									// Only marked to use service waypoint. We'll deny since it's not traversed.
    									// Not traversed, since traffic is to-workload IP.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  6. tests/integration/security/jwt_test.go

    						opts.HTTP.Path = "/valid-token-forward-remote-jwks"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    						opts.Check = check.And(
    							check.NotOK(),
    							check.Status(http.StatusUnauthorized))
    					},
    				},
    			}))
    
    			t.NewSubTest("aud").Run(newTest("testdata/requestauthn/aud.yaml.tmpl", []testCase{
    				{
    					name: "invalid-aud",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S

    // NOTOC -> dynamic [P8/default]: A P8 compatible, non-PIC stub is generated
    // NOTOC -> dynamic [P8/pie]:     A P8 compatible, PIC stub is generated
    //
    //
    // Some notes about other cases:
    //   TOC -> TOC, NOTOC -> NOTOC, NOTOC -> TOC  local calls do not require require call stubs.
    //   TOC -> NOTOC (R2 is preserved, st_other==0): A special case where a call stub is not needed.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. internal/s3select/sql/value_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			v := Value{
    				value: tt.fields.value,
    			}
    			gotVal, gotOk := v.bytesToBool()
    			if gotVal != tt.wantVal {
    				t.Errorf("bytesToBool() gotVal = %v, want %v", gotVal, tt.wantVal)
    			}
    			if gotOk != tt.wantOk {
    				t.Errorf("bytesToBool() gotOk = %v, want %v", gotOk, tt.wantOk)
    			}
    		})
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/version/helpers_test.go

    			}
    			if gotMinorVersion != tt.wantMinorVersion {
    				t.Errorf("parseKubeVersion() gotMinorVersion = %v, want %v", gotMinorVersion, tt.wantMinorVersion)
    			}
    			if gotOk != tt.wantOk {
    				t.Errorf("parseKubeVersion() gotOk = %v, want %v", gotOk, tt.wantOk)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 19 02:46:55 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. cmd/metacache-entries_test.go

    				if i > 0 {
    					rng.Shuffle(len(tt.m), func(i, j int) {
    						tt.m[i], tt.m[j] = tt.m[j], tt.m[i]
    					})
    				}
    				gotSelected, gotOk := tt.m.resolve(&tt.r)
    				if gotOk != tt.wantOk {
    					t.Errorf("resolve() gotOk = %v, want %v", gotOk, tt.wantOk)
    				}
    				if gotSelected != nil {
    					gotSelected.cached = nil
    					gotSelected.reusable = false
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
Back to top