From e6b4dc9b4249adf524f0febf1f30122a26ae94d3 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Thu, 25 May 2017 14:22:51 -0400 Subject: [PATCH] reduce sleep time --- builtin/providers/librato/resource_librato_metric_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/providers/librato/resource_librato_metric_test.go b/builtin/providers/librato/resource_librato_metric_test.go index a7e47d9a8..63ea41432 100644 --- a/builtin/providers/librato/resource_librato_metric_test.go +++ b/builtin/providers/librato/resource_librato_metric_test.go @@ -34,7 +34,7 @@ func TestAccLibratoMetrics(t *testing.T) { ), }, { - PreConfig: sleep(t, 15), + PreConfig: sleep(t, 5), Config: counterMetricConfig(name, typ, desc2), Check: resource.ComposeTestCheckFunc( testAccCheckLibratoMetricExists("librato_metric.foobar", &metric), @@ -68,7 +68,7 @@ func TestAccLibratoMetrics(t *testing.T) { ), }, { - PreConfig: sleep(t, 15), + PreConfig: sleep(t, 5), Config: gaugeMetricConfig(name, typ, desc2), Check: resource.ComposeTestCheckFunc( testAccCheckLibratoMetricExists("librato_metric.foobar", &metric), @@ -102,7 +102,7 @@ func TestAccLibratoMetrics(t *testing.T) { ), }, { - PreConfig: sleep(t, 15), + PreConfig: sleep(t, 5), Config: compositeMetricConfig(name, typ, desc2), Check: resource.ComposeTestCheckFunc( testAccCheckLibratoMetricExists("librato_metric.foobar", &metric),