"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/integration/security/jwt_test.go" between
istio-1.10.0.tar.gz and istio-1.10.1.tar.gz

About: Istio is a platform-independent service mesh that provides a uniform way to connect, secure, control, and observe microservices.

jwt_test.go  (istio-1.10.0):jwt_test.go  (istio-1.10.1)
skipping to change at line 46 skipping to change at line 46
"istio.io/istio/tests/integration/security/util/authn" "istio.io/istio/tests/integration/security/util/authn"
"istio.io/istio/tests/integration/security/util/connection" "istio.io/istio/tests/integration/security/util/connection"
) )
const ( const (
authHeaderKey = "Authorization" authHeaderKey = "Authorization"
) )
// TestRequestAuthentication tests beta authn policy for jwt. // TestRequestAuthentication tests beta authn policy for jwt.
func TestRequestAuthentication(t *testing.T) { func TestRequestAuthentication(t *testing.T) {
t.Skip("https://github.com/istio/istio/issues/32392")
payload1 := strings.Split(jwt.TokenIssuer1, ".")[1] payload1 := strings.Split(jwt.TokenIssuer1, ".")[1]
payload2 := strings.Split(jwt.TokenIssuer2, ".")[1] payload2 := strings.Split(jwt.TokenIssuer2, ".")[1]
framework.NewTest(t). framework.NewTest(t).
Features("security.authentication.jwt"). Features("security.authentication.jwt").
Run(func(t framework.TestContext) { Run(func(t framework.TestContext) {
ns := apps.Namespace1 ns := apps.Namespace1
args := map[string]string{"Namespace": ns.Name()} args := map[string]string{"Namespace": ns.Name()}
applyYAML := func(filename string, ns namespace.Instance) []string { applyYAML := func(filename string, ns namespace.Instance) []string {
policy := tmpl.EvaluateAllOrFail(t, args, file.As StringOrFail(t, filename)) policy := tmpl.EvaluateAllOrFail(t, args, file.As StringOrFail(t, filename))
t.Config().ApplyYAMLOrFail(t, ns.Name(), policy.. .) t.Config().ApplyYAMLOrFail(t, ns.Name(), policy.. .)
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)