commit
ecf605bf60
2 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ func TestGetPemCertificate(t *testing.T) {
|
|||
Data map[string][]byte
|
||||
eErr bool
|
||||
}{
|
||||
{"sceret_not_exist", "default/foo_secret_not_exist", nil, true},
|
||||
{"secret_not_exist", "default/foo_secret_not_exist", nil, true},
|
||||
{"data_not_complete_all_not_exist", "default/foo_secret", map[string][]byte{}, true},
|
||||
{"data_not_complete_TLSCertKey_not_exist", "default/foo_secret", map[string][]byte{api.TLSPrivateKeyKey: dKey, tlscaName: dCa}, false},
|
||||
{"data_not_complete_TLSCertKeyAndCA_not_exist", "default/foo_secret", map[string][]byte{api.TLSPrivateKeyKey: dKey}, true},
|
||||
|
|
|
@ -35,7 +35,7 @@ func TestFilterErrors(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestProxytTimeoutParsing(t *testing.T) {
|
||||
func TestProxyTimeoutParsing(t *testing.T) {
|
||||
testCases := map[string]struct {
|
||||
input string
|
||||
expect time.Duration // duration in seconds
|
||||
|
|
Loading…
Reference in a new issue