Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bodyContains (0.17 sec)

  1. tests/integration/pilot/label_test.go

    			to := apps.A
    
    			// First, expect to fail. Subset does not match
    			_ = from.CallOrFail(t, echo.CallOptions{
    				To: to,
    				Port: echo.Port{
    					Name: "http",
    				},
    				Count: 1,
    				Check: check.BodyContains("no healthy upstream"),
    			})
    
    			lbls := map[string]string{"subset": "my-subset"}
    			assert.NoError(t, to[0].UpdateWorkloadLabel(lbls, nil))
    			t.Cleanup(func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. tests/integration/security/egress_sidecar_tls_origination_test.go

    						exRsp.ErrorMessage, err, result.Responses)
    				}
    				return nil
    			}
    			return check.And(check.NoErrorAndStatus(exRsp.StatusCode), check.BodyContains(exRsp.ErrorMessage)).Check(result, nil)
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. tests/integration/ambient/baseline_test.go

    								// IP=10.244.2.20
    								// Alpn=
    								// RequestHeader=Accept:*/*
    								// RequestHeader=User-Agent:curl/7.81.0
    								// Hostname=uncaptured-v1-868c9b59b5-rxvfq
    								Check: check.BodyContains(`Hostname=uncaptured-v`), // can hit v1 or v2
    							})
    						})
    				})
    			}
    		})
    }
    
    // Ambient ServiceEntry support for auto assigned vips is lacking for now, but planned.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  4. tests/integration/security/authz_test.go

    								HTTP: echo.HTTP{
    									Path:    c.path,
    									Headers: headers.New().WithHost(c.host).WithAuthz(c.token).Build(),
    								},
    								Check: check.And(check.NoErrorAndStatus(wantCode), check.BodyContains(body)),
    							}
    
    							from.CallOrFail(t, opts)
    						})
    					}
    				})
    		})
    }
    
    func TestAuthz_Conditions(t *testing.T) {
    	framework.NewTest(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
Back to top