Fix test instructions readme (#5644)

This commit is contained in:
bojanserafimov
2023-10-25 11:53:04 -04:00
committed by GitHub
parent 32126d705b
commit c155cc0c3f

View File

@@ -4,8 +4,10 @@ First make a release build. The `-s` flag silences a lot of output, and makes it
easier to see if you have compile errors without scrolling up.
`BUILD_TYPE=release CARGO_BUILD_FLAGS="--features=testing" make -s -j8`
You may also need to run `./scripts/pysync`.
Then run the tests
`NEON_BIN=./target/release poetry run pytest test_runner/performance"`
`DEFAULT_PG_VERSION=15 NEON_BIN=./target/release poetry run pytest test_runner/performance`
Some handy pytest flags for local development:
- `-x` tells pytest to stop on first error