From 3b09bb3c579563c5eff8588a92be38e12918219f Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Tue, 27 Mar 2018 11:57:38 +0100
Subject: [PATCH] mongo wait time for inputs test

---
 clmctest/inputs/conftest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clmctest/inputs/conftest.py b/clmctest/inputs/conftest.py
index a70a257..aab39c3 100644
--- a/clmctest/inputs/conftest.py
+++ b/clmctest/inputs/conftest.py
@@ -35,7 +35,7 @@ def influxdb(telegraf_agent_config, request):
     db =  InfluxDBClient(host=telegraf_agent_config['hosts'][0]['ip_address'], port=8086, database=request.param['database'], timeout=10)
     db.drop_database(request.param['database'])
 
-    # wait 10 seconds for the 1st measurement to arrive from agents before returning
-    time.sleep(15)
+    # wait 20 seconds for the 1st measurement to arrive from agents before returning
+    time.sleep(30)
 
     return db
-- 
GitLab