Changed sleep to 500ms in tests

This commit is contained in:
emile 2015-10-08 22:11:34 +02:00
parent 9d168c4e15
commit 5a979b3dd6
5 changed files with 5 additions and 5 deletions

View file

@ -38,7 +38,7 @@ func (s *SimpleSuite) TestSimpleDefaultConfig(c *check.C) {
err := cmd.Start() err := cmd.Start()
c.Assert(err, checker.IsNil) c.Assert(err, checker.IsNil)
time.Sleep(100 * time.Millisecond) time.Sleep(500 * time.Millisecond)
// TODO validate : run on 80 // TODO validate : run on 80
resp, err := http.Get("http://127.0.0.1/") resp, err := http.Get("http://127.0.0.1/")

View file

@ -14,7 +14,7 @@ func (s *ConsulSuite) TestSimpleConfiguration(c *check.C) {
err := cmd.Start() err := cmd.Start()
c.Assert(err, checker.IsNil) c.Assert(err, checker.IsNil)
time.Sleep(100 * time.Millisecond) time.Sleep(500 * time.Millisecond)
// TODO validate : run on 80 // TODO validate : run on 80
resp, err := http.Get("http://127.0.0.1/") resp, err := http.Get("http://127.0.0.1/")

View file

@ -18,7 +18,7 @@ func (s *DockerSuite) TestSimpleConfiguration(c *check.C) {
err := cmd.Start() err := cmd.Start()
c.Assert(err, checker.IsNil) c.Assert(err, checker.IsNil)
time.Sleep(100 * time.Millisecond) time.Sleep(500 * time.Millisecond)
// TODO validate : run on 80 // TODO validate : run on 80
resp, err := http.Get("http://127.0.0.1/") resp, err := http.Get("http://127.0.0.1/")

View file

@ -14,7 +14,7 @@ func (s *FileSuite) TestSimpleConfiguration(c *check.C) {
err := cmd.Start() err := cmd.Start()
c.Assert(err, checker.IsNil) c.Assert(err, checker.IsNil)
time.Sleep(100 * time.Millisecond) time.Sleep(500 * time.Millisecond)
// TODO validate : run on 80 // TODO validate : run on 80
resp, err := http.Get("http://127.0.0.1/") resp, err := http.Get("http://127.0.0.1/")

View file

@ -14,7 +14,7 @@ func (s *MarathonSuite) TestSimpleConfiguration(c *check.C) {
err := cmd.Start() err := cmd.Start()
c.Assert(err, checker.IsNil) c.Assert(err, checker.IsNil)
time.Sleep(100 * time.Millisecond) time.Sleep(500 * time.Millisecond)
// TODO validate : run on 80 // TODO validate : run on 80
resp, err := http.Get("http://127.0.0.1/") resp, err := http.Get("http://127.0.0.1/")