From a150b4cc05565fe54448cc6c11589165abd5ff22 Mon Sep 17 00:00:00 2001
From: Lloyd Carothers <lloyd@passcal.nmt.edu>
Date: Fri, 5 Jun 2020 17:31:55 -0600
Subject: [PATCH] Turn down timeouts and retries for tests.

---
 tests/test_data2passcal.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/test_data2passcal.py b/tests/test_data2passcal.py
index ccb6133..2c14616 100644
--- a/tests/test_data2passcal.py
+++ b/tests/test_data2passcal.py
@@ -28,8 +28,10 @@ MS_FILELIST = ['ST00.AB..BHZ.2007.160', 'ST00.AB..BHZ.2007.161',
                'ST00.AB..BHZ.2007.162', 'ST00.AB..BHZ.2007.163',
                'ST00.AB..BHZ.2007.164']
 
-d2p.FTP_TIMEOUT = 5
+d2p.FTP_TIMEOUT = 1
 d2p.FTP_RECONNECT_WAIT = 1
+d2p.FTP_CONNECT_ATTEMPTS = 2
+d2p.FTP_SEND_ATTEMPTS = 2
 
 
 class TestData2passcal(unittest.TestCase):
-- 
GitLab