Create an integration test for Etcd:
- Integration test specifically spins up an Etcd cluster with three nodes.
This commit is contained in:
parent
8954aa7118
commit
a99010b8c2
4 changed files with 75 additions and 0 deletions
|
@ -29,6 +29,7 @@ func init() {
|
|||
check.Suite(&DockerSuite{})
|
||||
check.Suite(&ConsulSuite{})
|
||||
check.Suite(&ConsulCatalogSuite{})
|
||||
check.Suite(&EtcdSuite{})
|
||||
check.Suite(&MarathonSuite{})
|
||||
}
|
||||
|
||||
|
@ -50,6 +51,13 @@ func (s *ConsulSuite) SetUpSuite(c *check.C) {
|
|||
s.createComposeProject(c, "consul")
|
||||
}
|
||||
|
||||
// Etcd test suites (using libcompose)
|
||||
type EtcdSuite struct{ BaseSuite }
|
||||
|
||||
func (s *EtcdSuite) SetUpSuite(c *check.C) {
|
||||
s.createComposeProject(c, "etcd")
|
||||
}
|
||||
|
||||
// Marathon test suites (using libcompose)
|
||||
type MarathonSuite struct{ BaseSuite }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue