Bug 1446215 - Add 100ms delay between Talos cycles r?jmaher
MozReview-Commit-ID: 4XxZJ4XqDQY
--- a/testing/talos/talos/ttest.py
+++ b/testing/talos/talos/ttest.py
@@ -14,16 +14,17 @@
from __future__ import absolute_import, print_function
import json
import os
import platform
import shutil
import subprocess
import sys
+import time
import mozcrash
import mozfile
import results
import talosconfig
import utils
from mozlog import get_proxy_logger
from talos.cmanager import CounterManagement
@@ -133,16 +134,17 @@ class TTest(object):
# instantiate an object to hold test results
test_results = results.TestResults(
test_config,
global_counters,
browser_config.get('framework')
)
for i in range(test_config['cycles']):
+ time.sleep(0.1)
LOG.info('Running cycle %d/%d for %s test...'
% (i+1, test_config['cycles'], test_config['name']))
# remove the browser error file
mozfile.remove(browser_config['error_filename'])
# reinstall any file whose stability we need to ensure across
# the cycles