Skip to content

Commit

Permalink
Fix http_ready issue (sonic-net#10921)
Browse files Browse the repository at this point in the history
Fix http_ready issue in test_bgp_speaker.py
  • Loading branch information
echuawu authored Dec 6, 2023
1 parent 6b2c3d2 commit 630fe12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bgp/test_bgp_speaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def common_setup_teardown(duthosts, rand_one_dut_hostname, ptfhost, localhost, t
# check exabgp http_api port is ready
http_ready = True
for i in range(0, 3):
http_ready = wait_tcp_connection(localhost, ptfip, port_num[i])
http_ready = wait_tcp_connection(localhost, ptfip, port_num[i], timeout_s=60)
if not http_ready:
break

Expand Down

0 comments on commit 630fe12

Please sign in to comment.