Skip to content

Commit fdf41ad

Browse files
authored
[fix] benchmark run with compose (#666)
1 parent 8cbb750 commit fdf41ad

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

benchmarks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ docker-compose up
140140
Then you can run the benchmark with:
141141

142142
```bash
143-
docker-compose run ballista-client cargo run benchmark ballista --host ballista-scheduler --port 50050 --query 1 --path /data --format tbl
143+
docker-compose run ballista-client bash -c '/tpch benchmark ballista --host ballista-scheduler --port 50050 --query 1 --path /data --format tbl'
144144
```
145145

146146
## Expected output

benchmarks/docker-compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@ services:
4141
ballista-client:
4242
image: ballista:0.5.0-SNAPSHOT
4343
command: "/bin/sh" # do nothing
44-
working_dir: /ballista/benchmarks/tpch
4544
environment:
4645
- RUST_LOG=info
4746
volumes:
4847
- ./data:/data
49-
- ../..:/ballista
5048
depends_on:
5149
- ballista-scheduler
5250
- ballista-executor

0 commit comments

Comments
 (0)