From 40bc1f50e7b0605522feb4ac86daebb9f785eb88 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Fri, 17 Feb 2012 13:22:05 +0100 Subject: [PATCH] tests: Use only 1 IMAP connection by default We don't want to hammmer IMAP servers for the test series too much to avoid being locked out. We will need a few tests to test concurrent connections, but by default one connection should be fine. Signed-off-by: Sebastian Spaeth --- test/OLItest/globals.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/OLItest/globals.py b/test/OLItest/globals.py index 5d1f122..88806f2 100644 --- a/test/OLItest/globals.py +++ b/test/OLItest/globals.py @@ -33,5 +33,7 @@ localfolders = [Repository IMAP] type=IMAP +# Don't hammer the server with too many connection attempts: +maxconnections=1 folderfilter= lambda f: f.startswith('INBOX.OLItest') """)