Skip to content

Commit

Permalink
test_runner: Update the README.md to build neon with 'testing' (#9437)
Browse files Browse the repository at this point in the history
Without having the '--features testing' in the cargo build the proxy
won't start causing tests to fail.
  • Loading branch information
awarus authored Oct 17, 2024
1 parent 8b47938 commit a7c0568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Prerequisites:
- Correctly configured Python, see [`/docs/sourcetree.md`](/docs/sourcetree.md#using-python)
- Neon and Postgres binaries
- See the root [README.md](/README.md) for build directions
If you want to test tests with test-only APIs, you would need to add `--features testing` to Rust code build commands.
To run tests you need to add `--features testing` to Rust code build commands.
For convenience, repository cargo config contains `build_testing` alias, that serves as a subcommand, adding the required feature flags.
Usage example: `cargo build_testing --release` is equivalent to `cargo build --features testing --release`
- Tests can be run from the git tree; or see the environment variables
Expand Down

1 comment on commit a7c0568

@github-actions
Copy link

@github-actions github-actions bot commented on a7c0568 Oct 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5342 tests run: 5125 passed, 0 failed, 217 skipped (full report)


Flaky tests (9)

Postgres 16

Postgres 15

Postgres 14

Code coverage* (full report)

  • functions: 31.3% (7554 of 24134 functions)
  • lines: 49.1% (60437 of 122990 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
a7c0568 at 2024-10-18T15:10:56.702Z :recycle:

Please sign in to comment.