Set delay based on ticks_per_slot to ensure the test makes it to a new block
This commit is contained in:
@ -73,7 +73,7 @@ fn test_rpc_send_tx() {
|
||||
"params": [signature],
|
||||
});
|
||||
|
||||
for _ in 0..10 {
|
||||
for _ in 0..solana_sdk::timing::DEFAULT_TICKS_PER_SLOT {
|
||||
let mut response = client
|
||||
.post(&rpc_string)
|
||||
.header(CONTENT_TYPE, "application/json")
|
||||
|
Reference in New Issue
Block a user