Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
kostekIV committed Nov 17, 2022
commit 547cdefd89c319e5655c9fa29219f32b43a45071
4 changes: 2 additions & 2 deletions e2e-tests/src/test/electing_validators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ pub async fn authorities_are_staking(config: &Config) -> anyhow::Result<()> {
let connection = root_connection.as_signed();
connection
.connection
.wait_for_n_eras(1, BlockStatus::Best)
.wait_for_n_eras(2, BlockStatus::Best)
.await;
let current_era = connection.connection.get_current_era(None).await;
info!("New validators are in force (era: {})", current_era);
Expand Down Expand Up @@ -262,7 +262,7 @@ pub async fn authorities_are_staking(config: &Config) -> anyhow::Result<()> {

connection
.connection
.wait_for_n_eras(1, BlockStatus::Best)
.wait_for_n_eras(2, BlockStatus::Best)
.await;
let current_era = connection.connection.get_current_era(None).await;
info!(
Expand Down