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

test(gossipsub): control message #1191

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a85be04
Add utility functions.
AlejandroCabeza Aug 7, 2024
c8bc839
Refactor discovery tests for reusability.
AlejandroCabeza Aug 7, 2024
788e156
Implement renddezvous sub/unsub test.
AlejandroCabeza Aug 7, 2024
f791e78
Implement rendezvous frequent sub/unsub tests.
AlejandroCabeza Aug 14, 2024
5641946
Update waitForResult to handle void futures.
AlejandroCabeza Aug 23, 2024
543c281
Improve existing PX test.
AlejandroCabeza Aug 23, 2024
e199782
Add timeout duration consts.
AlejandroCabeza Aug 26, 2024
b32badf
Add active waitForMesh proc.
AlejandroCabeza Aug 26, 2024
cba704d
Fix timeout variable naming
AlejandroCabeza Aug 26, 2024
3e68f91
Update future to result utils.
AlejandroCabeza Aug 27, 2024
6501a61
Add simple mocking mechanism.
AlejandroCabeza Aug 27, 2024
e53d041
Fix resub after unsub test.
AlejandroCabeza Aug 27, 2024
0db9812
Remove mock and comment test.
AlejandroCabeza Aug 28, 2024
2bbc2f3
Remove mocking module.
AlejandroCabeza Aug 28, 2024
6447714
Remove mock import.
AlejandroCabeza Aug 28, 2024
a7796bf
Implement D parameter tests.
AlejandroCabeza Aug 29, 2024
4bffaf1
Implement gossip propagation test.
AlejandroCabeza Sep 2, 2024
952b08c
Implement message should not go back to source test.
AlejandroCabeza Sep 3, 2024
a2d2e5d
Fix gossip check test.
AlejandroCabeza Sep 4, 2024
aac457e
Implement flood publish with score test
AlejandroCabeza Sep 4, 2024
e6a06dc
Implement gossip adaptive dissemination tests.
AlejandroCabeza Sep 4, 2024
3745845
iDontWant broadcasting test
AlejandroCabeza Sep 5, 2024
264e0dc
Refactor utils for naming clarity
AlejandroCabeza Sep 5, 2024
dff60c2
Fix test and add remaining direct peers test.
AlejandroCabeza Sep 5, 2024
0623044
Implement graft test
AlejandroCabeza Sep 9, 2024
42b1cdb
Add PRUNE message test
AlejandroCabeza Sep 10, 2024
fd16445
Add IHAVE message test
AlejandroCabeza Sep 11, 2024
85273fb
Add more tests.
AlejandroCabeza Sep 25, 2024
0dc653a
Add IHAVE for non-existent topic test.
AlejandroCabeza Sep 26, 2024
94fdb8d
Add multiple simultaneous control messages handling test.
AlejandroCabeza Sep 27, 2024
7549d95
Add PRUNE back and peer list verifier test.
AlejandroCabeza Sep 27, 2024
151ef3c
Add GRAFT on direct peers test.
AlejandroCabeza Sep 30, 2024
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
6 changes: 4 additions & 2 deletions tests/helpers.nim
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ import ../libp2p/protocols/secure/secure
import ../libp2p/switch
import ../libp2p/nameresolving/[nameresolver, mockresolver]

import "."/[asyncunit, errorhelpers]
export asyncunit, errorhelpers, mockresolver
import errorhelpers
import utils/async_tests

export async_tests, errorhelpers, mockresolver

const
StreamTransportTrackerName = "stream.transport"
Expand Down
Loading
Loading