Back off overly-aggressive timeout

This commit is contained in:
Tim Raymond 2016-02-16 15:49:49 -05:00
parent cbe682a67b
commit 9a6145122d
1 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ func Test_RegistersWithEnterprise(t *testing.T) {
e := enterprise.NewEnterprise(c, expected, "test", shutdown)
e.Open()
timeout := time.After(1 * time.Millisecond)
timeout := time.After(1 * time.Second)
for {
select {
case <-success:
@ -83,7 +83,7 @@ func Test_StartsAdminInterface(t *testing.T) {
e := enterprise.NewEnterprise(c, hostname, "test", shutdown)
e.Open()
timeout := time.After(1 * time.Millisecond)
timeout := time.After(1 * time.Second)
for {
select {
case <-success:
@ -116,7 +116,7 @@ func Test_ClosesAdminInterface(t *testing.T) {
e := enterprise.NewEnterprise(c, hostname, "test", shutdown)
e.Open()
timeout := time.After(1 * time.Millisecond)
timeout := time.After(1 * time.Second)
for {
select {
case <-success: