parent
0c2a49391a
commit
9f354522a7
|
@ -3095,6 +3095,8 @@ dependencies = [
|
||||||
"serde_derive 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_derive 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_yaml 0.8.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_yaml 0.8.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"serial_test 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"serial_test_derive 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solana-client 0.19.0-pre0",
|
"solana-client 0.19.0-pre0",
|
||||||
"solana-core 0.19.0-pre0",
|
"solana-core 0.19.0-pre0",
|
||||||
"solana-drone 0.19.0-pre0",
|
"solana-drone 0.19.0-pre0",
|
||||||
|
|
|
@ -30,6 +30,10 @@ solana-sdk = { path = "../sdk", version = "0.19.0-pre0" }
|
||||||
solana-move-loader-program = { path = "../programs/move_loader_program", version = "0.19.0-pre0" }
|
solana-move-loader-program = { path = "../programs/move_loader_program", version = "0.19.0-pre0" }
|
||||||
solana-move-loader-api = { path = "../programs/move_loader_api", version = "0.19.0-pre0" }
|
solana-move-loader-api = { path = "../programs/move_loader_api", version = "0.19.0-pre0" }
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
serial_test = "0.2.0"
|
||||||
|
serial_test_derive = "0.2.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
cuda = ["solana-core/cuda"]
|
cuda = ["solana-core/cuda"]
|
||||||
|
|
||||||
|
|
|
@ -935,6 +935,7 @@ pub fn generate_and_fund_keypairs<T: Client>(
|
||||||
mod tests {
|
mod tests {
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use serial_test_derive::serial;
|
||||||
use solana_client::thin_client::create_client;
|
use solana_client::thin_client::create_client;
|
||||||
use solana_core::cluster_info::FULLNODE_PORT_RANGE;
|
use solana_core::cluster_info::FULLNODE_PORT_RANGE;
|
||||||
use solana_core::validator::ValidatorConfig;
|
use solana_core::validator::ValidatorConfig;
|
||||||
|
@ -1006,6 +1007,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[serial]
|
||||||
fn test_bench_tps_local_cluster_solana() {
|
fn test_bench_tps_local_cluster_solana() {
|
||||||
let mut config = Config::default();
|
let mut config = Config::default();
|
||||||
config.tx_count = 100;
|
config.tx_count = 100;
|
||||||
|
@ -1015,6 +1017,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[serial]
|
||||||
fn test_bench_tps_local_cluster_move() {
|
fn test_bench_tps_local_cluster_move() {
|
||||||
let mut config = Config::default();
|
let mut config = Config::default();
|
||||||
config.tx_count = 100;
|
config.tx_count = 100;
|
||||||
|
|
Loading…
Reference in New Issue