Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seb/1676/investigation aggregator stress test #1683

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ pub async fn bootstrap_aggregator(

restart_aggregator_and_move_one_epoch_forward(&mut aggregator, current_epoch, args).await?;

fake_signer::try_register_signer_until_registration_round_is_open(
&aggregator,
&signers_fixture.signers()[0],
*current_epoch + 1,
Duration::from_secs(60),
)
.await?;

info!(">> Send the Signer Key Registrations payloads for the genesis signers");
let errors = fake_signer::register_signers_to_aggregator(
&aggregator,
Expand All @@ -77,14 +69,6 @@ pub async fn bootstrap_aggregator(
.await?;
assert_eq!(0, errors);

fake_signer::try_register_signer_until_registration_round_is_open(
&aggregator,
&signers_fixture.signers()[0],
*current_epoch + 1,
Duration::from_secs(60),
)
.await?;

restart_aggregator_and_move_one_epoch_forward(&mut aggregator, current_epoch, args).await?;

info!(">> Send the Signer Key Registrations payloads for next genesis signers");
Expand Down Expand Up @@ -133,7 +117,7 @@ async fn restart_aggregator_and_move_one_epoch_forward(
*current_epoch += 1;
fake_chain::set_epoch(&args.mock_epoch_file_path(), *current_epoch);

info!(">> Restarting the aggregator with a large run interval");
info!(">> Restarting the aggregator still with a large run interval");
aggregator.serve().unwrap();
wait::for_http_response(
&format!("{}/epoch-settings", aggregator.endpoint()),
Expand Down
Loading