Add retry, restore ignored tests
This commit is contained in:
parent
d2cb4e003c
commit
a8b9899dee
|
@ -835,7 +835,6 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn test_wrong_role_transition() {
|
||||
// Create the leader node information
|
||||
let bootstrap_leader_keypair = Arc::new(Keypair::new());
|
||||
|
@ -983,7 +982,6 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
fn test_validator_to_leader_transition() {
|
||||
// Make a leader identity
|
||||
let leader_keypair = Keypair::new();
|
||||
|
|
|
@ -502,7 +502,7 @@ pub fn make_active_set_entries(
|
|||
|
||||
let params = json!([active_keypair.pubkey(), sig, msg.as_bytes()]);
|
||||
let resp = RpcRequest::RegisterNode
|
||||
.make_rpc_request(&rpc_client, 1, Some(params))
|
||||
.retry_make_rpc_request(&rpc_client, 1, Some(params), 5)
|
||||
.unwrap();
|
||||
let vote_account_id: Pubkey = serde_json::from_value(resp).unwrap();
|
||||
|
||||
|
|
Loading…
Reference in New Issue