Skip to content

Commit

Permalink
increase peer IDs to test against for attemptDial
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Jul 26, 2023
1 parent 9d28213 commit ba03bc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tests/tests/connection_manager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const KEEP_ALIVE_OPTIONS: KeepAliveOptions = {
const TEST_TIMEOUT = 10_000;
const DELAY_MS = 1_000;

describe("ConnectionManager", function () {
describe.only("ConnectionManager", function () {
let connectionManager: ConnectionManager | undefined;
let waku: LightNode;
let peerId: string;
Expand Down Expand Up @@ -167,7 +167,7 @@ describe("ConnectionManager", function () {
it("should be called on all `peer:discovery` events", async function () {
this.timeout(TEST_TIMEOUT);

const totalPeerIds = 1;
const totalPeerIds = 5;
for (let i = 1; i <= totalPeerIds; i++) {
waku.libp2p.dispatchEvent(
new CustomEvent("peer:discovery", { detail: `peer-id-${i}` })
Expand Down

0 comments on commit ba03bc3

Please sign in to comment.