forked from apfitzge/agave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move test-validator to own module to reduce core dependencies (solana…
…-labs#20658) * Move test-validator to own module to reduce core dependencies * Fix a few TestValidator paths * Use solana_test_validator crate for solana_test_validator bin * Move client int tests to separate crate Co-authored-by: Tyera Eulberg <tyera@solana.com>
- Loading branch information
Showing
26 changed files
with
193 additions
and
27 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[package] | ||
name = "solana-client-test" | ||
version = "1.9.0" | ||
description = "Solana RPC Test" | ||
authors = ["Solana Maintainers <maintainers@solana.foundation>"] | ||
repository = "https://github.com/solana-labs/solana" | ||
license = "Apache-2.0" | ||
homepage = "https://solana.com/" | ||
documentation = "https://docs.rs/solana-client-test" | ||
edition = "2018" | ||
|
||
[dependencies] | ||
solana-client = { path = "../client", version = "=1.9.0" } | ||
solana-measure = { path = "../measure", version = "=1.9.0" } | ||
solana-merkle-tree = { path = "../merkle-tree", version = "=1.9.0" } | ||
solana-metrics = { path = "../metrics", version = "=1.9.0" } | ||
solana-perf = { path = "../perf", version = "=1.9.0" } | ||
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.0" } | ||
solana-rpc = { path = "../rpc", version = "=1.9.0" } | ||
solana-runtime = { path = "../runtime", version = "=1.9.0" } | ||
solana-sdk = { path = "../sdk", version = "=1.9.0" } | ||
solana-streamer = { path = "../streamer", version = "=1.9.0" } | ||
solana-test-validator = { path = "../test-validator", version = "=1.9.0" } | ||
solana-version = { path = "../version", version = "=1.9.0" } | ||
systemstat = "0.1.10" | ||
|
||
[dev-dependencies] | ||
solana-logger = { path = "../logger", version = "=1.9.0" } | ||
|
||
[lib] | ||
crate-type = ["lib"] | ||
name = "solana_entry" | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// This is a test-only crate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[package] | ||
name = "solana-rpc-test" | ||
version = "1.9.0" | ||
description = "Solana RPC Test" | ||
authors = ["Solana Maintainers <maintainers@solana.foundation>"] | ||
repository = "https://github.com/solana-labs/solana" | ||
license = "Apache-2.0" | ||
homepage = "https://solana.com/" | ||
documentation = "https://docs.rs/solana-rpc-test" | ||
edition = "2018" | ||
|
||
[dependencies] | ||
bincode = "1.3.3" | ||
bs58 = "0.4.0" | ||
jsonrpc-core = "18.0.0" | ||
jsonrpc-core-client = { version = "18.0.0", features = ["ipc", "ws"] } | ||
log = "0.4.11" | ||
reqwest = { version = "0.11.5", default-features = false, features = ["blocking", "rustls-tls", "json"] } | ||
serde = "1.0.130" | ||
serde_json = "1.0.68" | ||
solana-account-decoder = { path = "../account-decoder", version = "=1.9.0" } | ||
solana-client = { path = "../client", version = "=1.9.0" } | ||
solana-rpc = { path = "../rpc", version = "=1.9.0" } | ||
solana-sdk = { path = "../sdk", version = "=1.9.0" } | ||
solana-streamer = { path = "../streamer", version = "=1.9.0" } | ||
solana-test-validator = { path = "../test-validator", version = "=1.9.0" } | ||
solana-transaction-status = { path = "../transaction-status", version = "=1.9.0" } | ||
tokio = { version = "1", features = ["full"] } | ||
|
||
[dev-dependencies] | ||
solana-logger = { path = "../logger", version = "=1.9.0" } | ||
|
||
[lib] | ||
crate-type = ["lib"] | ||
name = "solana_entry" | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// This is a test-only crate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.