Skip to content

Commit e06b302

Browse files
committed
Try fixing unit tests
1 parent 76c19a8 commit e06b302

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: locust/contrib/fasthttp.py

+1
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ def __exit__(self, exc, value, traceback):
606606
return False
607607
else:
608608
try:
609+
self.content() # explicitly await fetching the response completely
609610
self.raise_for_status()
610611
except FAILURE_EXCEPTIONS as e:
611612
self.request_meta["exception"] = e

0 commit comments

Comments
 (0)