From 435700aeb00d9267b027801b688d677ccdc93903 Mon Sep 17 00:00:00 2001 From: Nicolas Schneider Date: Wed, 6 Apr 2016 21:39:51 +0200 Subject: [PATCH] add exponential backoff for deleting temp directories --- run_tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/run_tests.py b/run_tests.py index b23776cb9..556a0a527 100755 --- a/run_tests.py +++ b/run_tests.py @@ -60,6 +60,7 @@ class AutoDeletedDir(): except OSError: if i == retries-1: raise + time.sleep(0.1 * (2**i)) passing_tests = 0 failing_tests = 0