1
0
Fork 0

Create an integration test for Etcd:

- Integration test specifically spins up an Etcd cluster with three
    nodes.
This commit is contained in:
Advait Shinde 2016-02-25 23:31:35 +00:00
parent 8954aa7118
commit a99010b8c2
4 changed files with 75 additions and 0 deletions

View file

@ -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 }