Skip to content

Commit

Permalink
fix endpoint in wait_for
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrede committed Nov 11, 2024
1 parent 21f9d05 commit 38969e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/tests/examples/wait_for.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def _test_rounds(n_rounds):
def _test_nodes(n_nodes, node_type, reducer_host='localhost', reducer_port='8092'):
try:

endpoint = "list_clients" if node_type == "client" else "list_combiners"
endpoint = "api/v1/clients/" if node_type == "client" else "api/v1/combiners/"

response = requests.get(
f'http://{reducer_host}:{reducer_port}/{endpoint}', verify=False)
Expand Down

0 comments on commit 38969e8

Please sign in to comment.