Skip to content

Commit 0b94e52

Browse files
committed
chore: fix test host address
1 parent 88fb9d7 commit 0b94e52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/array/mixins/test_post.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ def start_flow(stop_event, **kwargs):
9393
N = 100
9494
da = DocumentArray.empty(N)
9595
try:
96-
assert da.post(f'grpc://0.0.0.0:{p}/')[:, 'text'] == [''] * N
97-
assert da.post(f'grpc://0.0.0.0:{p}/foo').texts == ['foo'] * N
98-
assert da.post(f'grpc://0.0.0.0:{p}/bar').texts == ['bar'] * N
96+
assert da.post(f'grpc://127.0.0.1:{p}/')[:, 'text'] == [''] * N
97+
assert da.post(f'grpc://127.0.0.1:{p}/foo').texts == ['foo'] * N
98+
assert da.post(f'grpc://127.0.0.1:{p}/bar').texts == ['bar'] * N
9999
except:
100100
raise
101101
finally:

0 commit comments

Comments
 (0)