Make bench_tps_local_cluster tests serial (#5762)

-
This commit is contained in:
sakridge 2019-08-31 16:53:56 -07:00 committed by GitHub
parent 0c2a49391a
commit 9f354522a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

2
Cargo.lock generated
View File

@ -3095,6 +3095,8 @@ dependencies = [
"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_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-core 0.19.0-pre0",
"solana-drone 0.19.0-pre0",

View File

@ -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-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]
cuda = ["solana-core/cuda"]

View File

@ -935,6 +935,7 @@ pub fn generate_and_fund_keypairs<T: Client>(
mod tests {
use super::*;
use serial_test_derive::serial;
use solana_client::thin_client::create_client;
use solana_core::cluster_info::FULLNODE_PORT_RANGE;
use solana_core::validator::ValidatorConfig;
@ -1006,6 +1007,7 @@ mod tests {
}
#[test]
#[serial]
fn test_bench_tps_local_cluster_solana() {
let mut config = Config::default();
config.tx_count = 100;
@ -1015,6 +1017,7 @@ mod tests {
}
#[test]
#[serial]
fn test_bench_tps_local_cluster_move() {
let mut config = Config::default();
config.tx_count = 100;