Skip to content

Commit

Permalink
dist-tests: set the ptp server threads to avoid racy deadlocks
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Sep 7, 2023
1 parent 972a69e commit 28bd5a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist-test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ docker compose \
run \
--rm \
cli \
/build/faabric/static/bin/faabric_dist_tests
# See faasm/faabric#335
POINT_TO_POINT_SERVER_THREADS=8 /build/faabric/static/bin/faabric_dist_tests

RETURN_VAL=$?

Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ services:
- LOG_LEVEL=debug
- PLANNER_HOST=planner
- PLANNER_PORT=8080
# See faasm/faabric#335
- POINT_TO_POINT_SERVER_THREADS=8
- REDIS_STATE_HOST=redis
- REDIS_QUEUE_HOST=redis
- OVERRIDE_CPU_COUNT=${OVERRIDE_CPU_COUNT:-0}
Expand Down

0 comments on commit 28bd5a7

Please sign in to comment.