Skip to content

Commit

Permalink
Merge pull request #674 from near/fix-ci
Browse files Browse the repository at this point in the history
reducing latency to 1s to pass on ci
  • Loading branch information
volovyks authored Jul 10, 2024
2 parents 67170dd + 706ffdb commit 83114ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/chain-signatures/tests/cases/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ async fn test_multichain_reshare_with_lake_congestion() -> anyhow::Result<()> {
assert!(state.participants.len() == 3);

// add latency to node1->rpc, but not node0->rpc
add_latency(&ctx.nodes.proxy_name_for_node(1), true, 1.0, 2_000, 200).await?;
add_latency(&ctx.nodes.proxy_name_for_node(1), true, 1.0, 1_000, 100).await?;
// remove node2, node0 and node1 should still reach concensus
// this fails if the latency above is too long (10s)
assert!(ctx.remove_participant(None).await.is_ok());
Expand All @@ -364,7 +364,7 @@ async fn test_multichain_reshare_with_lake_congestion() -> anyhow::Result<()> {
assert!(state.participants.len() == 2);
assert!(ctx.add_participant().await.is_ok());
// add latency to node2->rpc
add_latency(&ctx.nodes.proxy_name_for_node(2), true, 1.0, 2_000, 200).await?;
add_latency(&ctx.nodes.proxy_name_for_node(2), true, 1.0, 1_000, 100).await?;
let state = wait_for::running_mpc(&ctx, Some(0)).await?;
assert!(state.participants.len() == 3);
assert!(ctx.remove_participant(None).await.is_ok());
Expand Down

0 comments on commit 83114ee

Please sign in to comment.