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),