Skip to content

Commit

Permalink
Do not use switch2 in tests because it has limited capacity == 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatfate committed Nov 26, 2024
1 parent ff7e490 commit dd6eadd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/testswitch.nim
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,6 @@ suite "Switch":
switch1.peerStore[ProtoBook][switch2.peerInfo.peerId] == switch2.peerInfo.protocols

switch1.peerStore[LastSeenBook][switch2.peerInfo.peerId].isSome()
switch2.peerStore[LastSeenBook][switch1.peerInfo.peerId].isSome()

switch1.peerInfo.peerId notin switch2.peerStore[AddressBook]
switch1.peerInfo.peerId notin switch2.peerStore[ProtoBook]
Expand Down

0 comments on commit dd6eadd

Please sign in to comment.