From ca52a3ffd74077d15b413c5e5ba991cb7709c3de Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Tue, 25 Aug 2015 15:13:47 -0700 Subject: [PATCH] Allow queries to be looped Some queries may be subject to race conditions. This variable allows the test to request that a query is executed multiple times, increasing the chance that any race will be exposed. --- cmd/influxd/run/server_helpers_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/influxd/run/server_helpers_test.go b/cmd/influxd/run/server_helpers_test.go index adabdc19e3..f00f536def 100644 --- a/cmd/influxd/run/server_helpers_test.go +++ b/cmd/influxd/run/server_helpers_test.go @@ -232,6 +232,7 @@ type Query struct { exp, act string pattern bool skip bool + repeat int } // Execute runs the command and returns an err if it fails