mirror of https://github.com/status-im/consul.git
update runtime_test to handle PrometheusOpts expiry field change
This commit is contained in:
parent
49f017bd42
commit
2fe021f03c
|
@ -8,6 +8,7 @@ import (
|
|||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/armon/go-metrics/prometheus"
|
||||
"io/ioutil"
|
||||
"net"
|
||||
"os"
|
||||
|
@ -7103,9 +7104,11 @@ func TestFullConfig(t *testing.T) {
|
|||
AllowedPrefixes: []string{"oJotS8XJ"},
|
||||
BlockedPrefixes: []string{"cazlEhGn"},
|
||||
MetricsPrefix: "ftO6DySn",
|
||||
PrometheusRetentionTime: 15 * time.Second,
|
||||
StatsdAddr: "drce87cy",
|
||||
StatsiteAddr: "HpFwKB8R",
|
||||
PrometheusOpts: prometheus.PrometheusOpts{
|
||||
Expiration: 15 * time.Second,
|
||||
},
|
||||
},
|
||||
TLSCipherSuites: []uint16{tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256},
|
||||
TLSMinVersion: "pAOWafkR",
|
||||
|
|
Loading…
Reference in New Issue