Skip to content

add feature 'integration-test' for full-flegded tests that use postgr… - #321

Draft
grooviegermanikus wants to merge 5 commits into
mainfrom
improvement/postgres-integration-test-cargo
Draft

add feature 'integration-test' for full-flegded tests that use postgr…#321
grooviegermanikus wants to merge 5 commits into
mainfrom
improvement/postgres-integration-test-cargo

Conversation

@grooviegermanikus

@grooviegermanikus grooviegermanikus commented Feb 6, 2024

Copy link
Copy Markdown
Collaborator

Run it with this command

RUST_LOG=info,blockstore_integration_tests=trace,solana_lite_rpc_blockstore=trace RUST_LOG=info,blockstore_integration_tests=trace,solana_lite_rpc_blockstore=trace RPC_ADDR=https://api.testnet.rpcpool.com/$TESTNET_API_TOKEN WS_ADDR=wss://api.testnet.rpcpool.com/$TESTNET_API_TOKEN GRPC_ADDR=https://api.testnet.rpcpool.com/ GRPC_X_TOKEN=$TESTNET_API_TOKEN cargo test -F integration-test --test blockstore_integration_tests

SQL Script to prepare local PostgreSQL can be found in localdev_integrationtest.sql

@grooviegermanikus
grooviegermanikus marked this pull request as draft March 4, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant