Skip to content

Commit

Permalink
chore: use different ports in p2p tests
Browse files Browse the repository at this point in the history
  • Loading branch information
msgmaxim committed Sep 26, 2023
1 parent d95333a commit 2b3b30e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/src/p2p/core/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ async fn connects_after_registration() {
let node_key1 = create_keypair();
let node_key2 = create_keypair();

let pi1 = create_node_info(AccountId::new([1; 32]), &node_key1, 8089);
let pi2 = create_node_info(AccountId::new([2; 32]), &node_key2, 8090);
let pi1 = create_node_info(AccountId::new([1; 32]), &node_key1, 8091);
let pi2 = create_node_info(AccountId::new([2; 32]), &node_key2, 8092);

// Node 1 doesn't get its own peer info at first and will wait for registration
let node1 = spawn_node(&node_key1, 0, pi1.clone(), &[pi2.clone()]);
Expand Down

0 comments on commit 2b3b30e

Please sign in to comment.