Skip to content
Merged

Fix CI #6196

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use localhost instead of 0.0.0.0
  • Loading branch information
ShaharNaveh committed Oct 20, 2025
commit ef4f4c00d7b56d224d4edec5e403005e3726f083
4 changes: 2 additions & 2 deletions wasm/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def pytest_sessionfinish(session):


# From https://gist.github.com/butla/2d9a4c0f35ea47b7452156c96a4e7b12
def wait_for_port(port, host="0.0.0.0", timeout=5.0):
def wait_for_port(port, host="localhost", timeout=5.0):
"""Wait until a port starts accepting TCP connections.
Args:
port (int): Port number.
Expand Down Expand Up @@ -94,7 +94,7 @@ def wdriver(request):
options.add_argument("-headless")
driver = Driver(options=options)
try:
driver.get(f"http://0.0.0.0:{PORT}")
driver.get(f"http://localhost:{PORT}")
WebDriverWait(driver, 5).until(
EC.presence_of_element_located((By.ID, "rp_loaded"))
)
Expand Down
Loading