* Add timeout for local cluster partition tests (#16123)
* Add timeout for local cluster partition tests
* fix optimistic conf test logs
* Bump instruction count assertions
(cherry picked from commit e817a6db00
)
# Conflicts:
# local-cluster/Cargo.toml
# local-cluster/tests/local_cluster.rs
# programs/bpf/tests/programs.rs
* Fix conflicts
* Revert instruction count assertion changes
Co-authored-by: Justin Starry <justin@solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
@@ -76,7 +76,7 @@ impl OptimisticConfirmationVerifier {
|
||||
self.last_optimistic_slot_ts = Instant::now();
|
||||
}
|
||||
|
||||
pub fn format_optimistic_confirmd_slot_violation_log(slot: Slot) -> String {
|
||||
pub fn format_optimistic_confirmed_slot_violation_log(slot: Slot) -> String {
|
||||
format!("Optimistically confirmed slot {} was not rooted", slot)
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ impl OptimisticConfirmationVerifier {
|
||||
voted stake: {},
|
||||
total epoch stake: {},
|
||||
pct: {}",
|
||||
Self::format_optimistic_confirmd_slot_violation_log(*optimistic_slot),
|
||||
Self::format_optimistic_confirmed_slot_violation_log(*optimistic_slot),
|
||||
hash,
|
||||
epoch,
|
||||
r_slot_tracker
|
||||
|
Reference in New Issue
Block a user