Skip to content

Commit

Permalink
Unignore test_local_cluster_signature_subscribe and remove `test_sp…
Browse files Browse the repository at this point in the history
…end_and_verify_all_nodes_env_num_nodes` (solana-labs#1256)
  • Loading branch information
carllin authored May 9, 2024
1 parent 11383ae commit d36954c
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions local-cluster/tests/local_cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ fn test_spend_and_verify_all_nodes_3() {

#[test]
#[serial]
#[ignore]
fn test_local_cluster_signature_subscribe() {
solana_logger::setup_with_default(RUST_LOG_FILTER);
let num_nodes = 2;
Expand Down Expand Up @@ -277,31 +276,6 @@ fn test_local_cluster_signature_subscribe() {
assert!(got_received_notification);
}

#[test]
#[allow(unused_attributes)]
#[ignore]
fn test_spend_and_verify_all_nodes_env_num_nodes() {
solana_logger::setup_with_default(RUST_LOG_FILTER);
let num_nodes: usize = std::env::var("NUM_NODES")
.expect("please set environment variable NUM_NODES")
.parse()
.expect("could not parse NUM_NODES as a number");
let local = LocalCluster::new_with_equal_stakes(
num_nodes,
DEFAULT_CLUSTER_LAMPORTS,
DEFAULT_NODE_STAKE,
SocketAddrSpace::Unspecified,
);
cluster_tests::spend_and_verify_all_nodes(
&local.entry_point_info,
&local.funding_keypair,
num_nodes,
HashSet::new(),
SocketAddrSpace::Unspecified,
&local.connection_cache,
);
}

#[test]
#[serial]
fn test_two_unbalanced_stakes() {
Expand Down

0 comments on commit d36954c

Please sign in to comment.