Skip to content

Commit

Permalink
use curl.wait_for_finish
Browse files Browse the repository at this point in the history
  • Loading branch information
kingluo committed Jul 19, 2024
1 parent f46c4ab commit a822595
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions access_log/test_access_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ def send_h2_request_and_get_dmesg(self, klog):
curl.headers["host"] = "localhost"
curl.set_uri("/chunked")
curl.start()
import time

time.sleep(1)
curl.wait_for_finish()
curl.stop()
return AccessLogLine.from_dmesg(klog)

Expand Down

0 comments on commit a822595

Please sign in to comment.