Skip to content

Commit 222965a

Browse files
committed
Use crdb-harness
1 parent 1850c9d commit 222965a

7 files changed

+4
-1415
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ tokio = { version = "1.32", default-features = false, features = [ "rt-multi-thr
2323

2424
[dev-dependencies]
2525
anyhow = "1.0"
26+
crdb-harness = "0.0.1"
2627
diesel = { version = "2.2.2", features = [ "postgres", "r2d2" ] }
2728
libc = "0.2.154"
2829
tempfile = "3.8"

tests/README.md

+2-10
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,5 @@
33
This directory includes some integration tests, specifically with the
44
CockroachDB database, which uses a PostgreSQL protocol.
55

6-
Tests expect that the CockroachDB binary exist, and fail without it.
7-
8-
To download a local copy of CockroachDB:
9-
10-
```bash
11-
./tools/ci_download_cockroachdb
12-
```
13-
14-
This downloads a binary to `./out/cockroachdb/bin/cockoach`. If you'd like
15-
to use your own binary here, replace this binary with your own executable.
6+
These tests rely on the `crdb-harness` crate to download CockroachDB
7+
at a particular version.

0 commit comments

Comments
 (0)