Skip to content

Commit 5a927b2

Browse files
committed
tests: add timeout to post request
1 parent 07367ca commit 5a927b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dvc_http/tests/cloud.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def mkdir(self, mode=0o777, parents=False, exist_ok=False):
1717

1818
def write_bytes(self, contents):
1919
assert isinstance(contents, bytes)
20-
response = requests.post(self.url, data=contents)
20+
response = requests.post(self.url, data=contents, timeout=300)
2121
assert response.status_code == 200
2222

2323
@property

0 commit comments

Comments
 (0)