forked from Ivasoft/traefik
refactor(kv): split provide and configuration.
This commit is contained in:
committed by
Traefiker
parent
e3d1201b46
commit
be0dd71bb4
@@ -19,14 +19,14 @@ import (
|
||||
|
||||
const (
|
||||
// Services IP addresses fixed in the configuration
|
||||
ipEtcd string = "172.18.0.2"
|
||||
ipWhoami01 string = "172.18.0.3"
|
||||
ipWhoami02 string = "172.18.0.4"
|
||||
ipWhoami03 string = "172.18.0.5"
|
||||
ipWhoami04 string = "172.18.0.6"
|
||||
ipEtcd = "172.18.0.2"
|
||||
ipWhoami01 = "172.18.0.3"
|
||||
ipWhoami02 = "172.18.0.4"
|
||||
ipWhoami03 = "172.18.0.5"
|
||||
ipWhoami04 = "172.18.0.6"
|
||||
|
||||
traefikEtcdURL string = "http://127.0.0.1:8000/"
|
||||
traefikWebEtcdURL string = "http://127.0.0.1:8081/"
|
||||
traefikEtcdURL = "http://127.0.0.1:8000/"
|
||||
traefikWebEtcdURL = "http://127.0.0.1:8081/"
|
||||
)
|
||||
|
||||
// Etcd test suites (using libcompose)
|
||||
@@ -289,7 +289,7 @@ func (s *Etcd3Suite) TestGlobalConfiguration(c *check.C) {
|
||||
c.Assert(err, checker.IsNil)
|
||||
}
|
||||
|
||||
func (s *Etcd3Suite) TestCertificatesContentstWithSNIConfigHandshake(c *check.C) {
|
||||
func (s *Etcd3Suite) TestCertificatesContentWithSNIConfigHandshake(c *check.C) {
|
||||
// start traefik
|
||||
cmd, display := s.traefikCmd(
|
||||
withConfigFile("fixtures/simple_web.toml"),
|
||||
|
||||
@@ -291,7 +291,7 @@ func (s *EtcdSuite) TestGlobalConfiguration(c *check.C) {
|
||||
c.Assert(err, checker.IsNil)
|
||||
}
|
||||
|
||||
func (s *EtcdSuite) TestCertificatesContentstWithSNIConfigHandshake(c *check.C) {
|
||||
func (s *EtcdSuite) TestCertificatesContentWithSNIConfigHandshake(c *check.C) {
|
||||
etcdHost := s.composeProject.Container(c, "etcd").NetworkSettings.IPAddress
|
||||
// start Træfik
|
||||
cmd, display := s.traefikCmd(
|
||||
|
||||
Reference in New Issue
Block a user