diff options
author | Zuul <zuul@review.opendev.org> | 2023-04-25 13:31:33 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-04-25 13:31:33 +0000 |
commit | 9f7527973997baa5e685ea57d1563232234bc872 (patch) | |
tree | c83fd2b38624457e9f372759e2a80803bf711680 | |
parent | 0a970d073684c06a9382d673c03d476d4b2c773b (diff) | |
parent | 61b6ec26337a576a2f46831a42f1b46c9fa60af8 (diff) | |
download | swift-9f7527973997baa5e685ea57d1563232234bc872.tar.gz |
Merge "Assert ChunkWriteTimeout errors are logged"
-rw-r--r-- | test/unit/proxy/controllers/test_obj.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/proxy/controllers/test_obj.py b/test/unit/proxy/controllers/test_obj.py index bf32a059a..79753e00b 100644 --- a/test/unit/proxy/controllers/test_obj.py +++ b/test/unit/proxy/controllers/test_obj.py @@ -4959,6 +4959,7 @@ class TestECObjController(ECObjectControllerMixin, unittest.TestCase): resp_body += b''.join(resp.app_iter) # we log errors log_lines = self.app.logger.get_lines_for_level('error') + self.assertTrue(log_lines) for line in log_lines: self.assertIn('ChunkWriteTimeout fetching fragments', line) # client gets a short read |