Skip to content

Commit 86386c7

Browse files
committed
background
1 parent 66c5271 commit 86386c7

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.circleci/config.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
key: cargo-lock-3-{{ checksum "Cargo.lock" }}
2626
- run:
2727
name: "Install dependencies"
28-
command: "sudo apt-get update && sudo apt-get install postgresql-contrib-12 postgresql-client-12"
28+
command: "sudo apt-get update && sudo apt-get install -y postgresql-contrib-12 postgresql-client-12"
2929
- run:
3030
name: "Build"
3131
command: "cargo build --release"
@@ -34,13 +34,7 @@ jobs:
3434
command: "cargo test"
3535
- run:
3636
name: "Launch in background"
37-
command: "./target/release/pgcat &"
38-
- run:
39-
name: "PgBench initialize"
40-
command: "pgbench -i -h 127.0.0.1 -p 6432"
41-
- run:
42-
name: "PgBench run"
43-
command: "pgbench -h 127.0.0.1 -p 6432 --protocol extended -t 100 -c 2"
37+
command: "./target/release/pgcat & pgbench -i -h 127.0.0.1 -p 6432 & pgbench -h 127.0.0.1 -p 6432 --protocol extended -t 100 -c 2"
4438
- save_cache:
4539
key: cargo-lock-3-{{ checksum "Cargo.lock" }}
4640
paths:

0 commit comments

Comments
 (0)