-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(gossipsub): Test cases covering subscribe and unsubscribe Events
added test wrt subscribe and unsubscribe added tests/pubsub/testgossipinternal2 file linters feat: rendezvous refactor (#1183) Hello! This PR aim to refactor rendezvous code so that it is easier to impl. Waku rdv strategy. The hardcoded min and max TTL were out of range with what we needed and specifying which peers to interact with is also needed since Waku deals with peers on multiple separate shards. I tried to keep the changes to a minimum, specifically I did not change the name of any public procs which result in less than descriptive names in some cases. I also wanted to return results instead of raising exceptions but didn't. Would it be acceptable to do so? Please advise on best practices, thank you. --------- Co-authored-by: Ludovic Chenut <[email protected]> refactor and suite name refactor chore(ci): Enable S3 caching for interop (#1193) - Adds our S3 bucket for caching docker images as Protocol Labs shut down their shared one. - Remove the free disk space workaround that prevented the jobs from failing for using too much space for the images. --------- Co-authored-by: diegomrsantos <[email protected]> PR review comment changes
- Loading branch information
1 parent
09fe199
commit eb2f6bf
Showing
5 changed files
with
268 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,6 @@ jobs: | |
name: Run transport interoperability tests | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Free Disk Space (Ubuntu) | ||
# For some reason the original job (libp2p/test-plans) has enough disk space, but this one doesn't. | ||
uses: jlumbroso/[email protected] | ||
with: | ||
tool-cache: true | ||
|
||
- uses: actions/checkout@v4 | ||
- uses: docker/setup-buildx-action@v3 | ||
- name: Build image | ||
|
@@ -32,6 +26,10 @@ jobs: | |
with: | ||
test-filter: nim-libp2p-head | ||
extra-versions: ${{ github.workspace }}/tests/transport-interop/version.json | ||
s3-cache-bucket: ${{ vars.S3_LIBP2P_BUILD_CACHE_BUCKET_NAME }} | ||
s3-access-key-id: ${{ vars.S3_LIBP2P_BUILD_CACHE_AWS_ACCESS_KEY_ID }} | ||
s3-secret-access-key: ${{ secrets.S3_LIBP2P_BUILD_CACHE_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: ${{ vars.S3_LIBP2P_BUILD_CACHE_AWS_REGION }} | ||
|
||
run-hole-punching-interop: | ||
name: Run hole-punching interoperability tests | ||
|
@@ -46,3 +44,7 @@ jobs: | |
with: | ||
test-filter: nim-libp2p-head | ||
extra-versions: ${{ github.workspace }}/tests/hole-punching-interop/version.json | ||
s3-cache-bucket: ${{ vars.S3_LIBP2P_BUILD_CACHE_BUCKET_NAME }} | ||
s3-access-key-id: ${{ vars.S3_LIBP2P_BUILD_CACHE_AWS_ACCESS_KEY_ID }} | ||
s3-secret-access-key: ${{ secrets.S3_LIBP2P_BUILD_CACHE_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: ${{ vars.S3_LIBP2P_BUILD_CACHE_AWS_REGION }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ build/ | |
*.exe | ||
*.dll | ||
.vscode/ | ||
.idea/ | ||
.DS_Store | ||
tests/pubsub/testgossipsub | ||
examples/*.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.