Skip to content

Commit

Permalink
test: tweak host and assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
develop7 committed Jul 31, 2024
1 parent a7e1d3a commit 1ea597c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/io/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,11 +1264,11 @@ def test_log_postgrest_host_and_port(defaultenv):
env = {**defaultenv}

with run(
env=env, host="127.0.0.2", port=3000, no_startup_stdout=False
env=env, host="127.0.0.1", port=3000, no_startup_stdout=False
) as postgrest:
output = postgrest.read_stdout(nlines=10)

assert "Listening on 127.0.0.2:3000" in output[3]
assert "Listening on 127.0.0.1:3000" in output[2] # output-sensitive


def test_succeed_w_role_having_superuser_settings(defaultenv):
Expand Down

0 comments on commit 1ea597c

Please sign in to comment.