From 879331cc0fa5754a6fb0689a101a6656a3092b77 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Thu, 25 May 2017 14:22:51 -0400 Subject: [PATCH] reduce sleep time --- resource_librato_metric_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resource_librato_metric_test.go b/resource_librato_metric_test.go index a7e47d9..63ea414 100644 --- a/resource_librato_metric_test.go +++ b/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),