Skip to content

Commit

Permalink
Fix Jolokia trait unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti committed Jan 14, 2020
1 parent 707b7f4 commit 1d38815
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/trait/jolokia_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,8 @@ func TestConfigureJolokiaTraitForOpenShiftProfileShouldSetDefaultHttpsJolokiaOpt
assert.Nil(t, err)
assert.True(t, configured)
assert.Equal(t, *trait.Protocol, "https")
assert.Equal(t, *trait.CaCert, "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt")
assert.Equal(t, *trait.CaCert, "/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt")
assert.Equal(t, *trait.ExtendedClientCheck, true)
assert.Equal(t, *trait.ClientPrincipal, "cn=system:master-proxy")
assert.Equal(t, *trait.UseSslClientAuthentication, true)
}

Expand Down

0 comments on commit 1d38815

Please sign in to comment.