From 306956c385dcd90137fcf7c3cac8bbe938f6e768 Mon Sep 17 00:00:00 2001 From: Dave Clendenan Date: Thu, 1 Dec 2016 11:12:44 -0800 Subject: [PATCH] tweak timing tests to handle slower VMs and older GoLang --- logrus_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logrus_test.go b/logrus_test.go index 6765acf..58d9981 100644 --- a/logrus_test.go +++ b/logrus_test.go @@ -328,7 +328,7 @@ func logLoop(iterations int, reportCaller bool) { // Assertions for upper bounds to reporting overhead func TestCallerReportingOverhead(t *testing.T) { - iterations := 10000 + iterations := 5000 before := time.Now() logLoop(iterations, false) during := time.Now()