Skip to content

Commit

Permalink
pain
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorrent committed Jun 7, 2024
1 parent 917eda7 commit c968b58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
lab:
command: pytest -s -vv /home/hivemind/tests/test_dht_schema.py
command: pytest -s -vv /home/hivemind/tests/test_p2p_daemon_bindings.py
tty: true
stdin_open: true
build: .
Expand Down
6 changes: 3 additions & 3 deletions tests/test_utils/p2p_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

TIMEOUT_DURATION = 30 # seconds

with pkg_resources.path("hivemind", "hivemind_cli/p2pd") as p2pd_path:
P2PD_PATH = str(p2pd_path)
with pkg_resources.path("hivemind", "hivemind_cli") as p2pd_path:
P2PD_PATH = os.path.join(str(p2pd_path), "p2pd")


async def try_until_success(coro_func, timeout=TIMEOUT_DURATION):
"""
Expand Down

0 comments on commit c968b58

Please sign in to comment.