From 9a6145122d0f3c0e503effdb0870490b3484ecc5 Mon Sep 17 00:00:00 2001 From: Tim Raymond Date: Tue, 16 Feb 2016 15:49:49 -0500 Subject: [PATCH] Back off overly-aggressive timeout --- services/enterprise/enterprise_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/enterprise/enterprise_test.go b/services/enterprise/enterprise_test.go index ae9fc3df9..90053e3f1 100644 --- a/services/enterprise/enterprise_test.go +++ b/services/enterprise/enterprise_test.go @@ -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: