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

Consolidate handle_transaction metrics #7644

Merged
merged 2 commits into from
Jan 24, 2023
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
Increase timeout for test, add logging for duration
  • Loading branch information
mystenmark committed Jan 24, 2023
commit 4a01076fb13b1e983b110a3c698ac04f35447a46
4 changes: 3 additions & 1 deletion crates/sui/tests/transaction_orchestrator_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,12 @@ async fn test_tx_across_epoch_boundaries() {
info!("All nodes including fullnode finished");

// The transaction must finalize in epoch 1
match tokio::time::timeout(tokio::time::Duration::from_secs(10), result_rx.recv()).await {
let start = std::time::Instant::now();
match tokio::time::timeout(tokio::time::Duration::from_secs(15), result_rx.recv()).await {
Ok(Some(tx_cert)) if tx_cert.auth_sig().epoch == 1 => (),
other => panic!("unexpected error: {:?}", other),
}
info!("test completed in {:?}", start.elapsed());
}

async fn execute_with_orchestrator(
Expand Down