add missing address to runtime tests

pull/17981/head
Ville Vesilehto 1 year ago
parent 08a5694e63
commit 977e90dfda
No known key found for this signature in database
GPG Key ID: 35DFD9623B53B041

@ -3455,6 +3455,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
"enabled": true,
"ca_provider": "vault",
"ca_config": {
"address": "http://127.0.0.1:8200",
"ca_file": "/capath/ca.pem",
"ca_path": "/capath/",
"cert_file": "/certpath/cert.pem",
@ -3472,6 +3473,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
enabled = true
ca_provider = "vault"
ca_config {
address = "http://127.0.0.1:8200"
ca_file = "/capath/ca.pem"
ca_path = "/capath/"
cert_file = "/certpath/cert.pem"
@ -3489,6 +3491,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
rt.ConnectEnabled = true
rt.ConnectCAProvider = "vault"
rt.ConnectCAConfig = map[string]interface{}{
"Address": "http://127.0.0.1:8200",
"CAFile": "/capath/ca.pem",
"CAPath": "/capath/",
"CertFile": "/certpath/cert.pem",
@ -3511,6 +3514,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
"enabled": true,
"ca_provider": "vault",
"ca_config": {
"address": "http://127.0.0.1:8200",
"ca_file": "/capath/ca.pem",
"ca_path": "/capath/",
"cert_file": "/certpath/cert.pem",
@ -3529,6 +3533,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
enabled = true
ca_provider = "vault"
ca_config {
address = "http://127.0.0.1:8200"
ca_file = "/capath/ca.pem"
ca_path = "/capath/"
cert_file = "/certpath/cert.pem"
@ -3547,6 +3552,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
rt.ConnectEnabled = true
rt.ConnectCAProvider = "vault"
rt.ConnectCAConfig = map[string]interface{}{
"Address": "http://127.0.0.1:8200",
"CAFile": "/capath/ca.pem",
"CAPath": "/capath/",
"CertFile": "/certpath/cert.pem",

Loading…
Cancel
Save