Bicheka commented on code in PR #4995:
URL: https://github.com/apache/opendal/pull/4995#discussion_r1717625401
##########
bindings/python/tests/test_read.py:
##########
@@ -50,11 +50,25 @@ def test_sync_reader(service_name, operator,
async_operator):
assert not reader.closed
read_content = reader.read()
+ while True:
+ chunk = reader.read(1024) # Read in chunks, e.g., 1024 bytes at a
time
+ if not chunk:
+ break
+ read_content.extend(chunk)
+
+ read_content = bytes(read_content)
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]