Skip to content

Instantly share code, notes, and snippets.

@clayg
Created November 4, 2015 23:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clayg/64d659bcae9991e5686c to your computer and use it in GitHub Desktop.
Save clayg/64d659bcae9991e5686c to your computer and use it in GitHub Desktop.
you too can have ChunkWriteTimeout: 60 seconds
nosetests swift/test/unit/proxy/controllers/test_obj.py:TestECObjController.test_GET_mismatched_fragment_archives -vsx
diff --git a/test/unit/proxy/controllers/test_obj.py b/test/unit/proxy/controllers/test_obj.py
index 835b31b..3723d02 100755
--- a/test/unit/proxy/controllers/test_obj.py
+++ b/test/unit/proxy/controllers/test_obj.py
@@ -2011,6 +2011,8 @@ class TestECObjController(BaseObjectControllerMixin, unittest.TestCase):
self.assertTrue('/a/c/o' in msg)
log_msg_args, log_msg_kwargs = self.logger.log_dict['error'][0]
self.assertEqual(log_msg_kwargs['exc_info'][0], ECDriverError)
+ from eventlet import sleep
+ sleep(60)
def test_GET_read_timeout(self):
segment_size = self.policy.ec_segment_size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment