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

add working ping test (js) or multidim-interop #98

Merged

Conversation

GlenDC
Copy link
Contributor

@GlenDC GlenDC commented Jan 8, 2023

You can test it yourself:

# terminal A. Get redis running
docker run --rm -it -p 6379:6379 redis/redis-stack

# terminal B (in js/v0.41)
REDIS_ADDR=localhost:6379 ip="0.0.0.0" transport=ws security=noise muxer=mplex is_dialer="true" node index.js

# terminal C (in js/v0.41)
REDIS_ADDR=localhost:6379 ip="0.0.0.0" transport=ws security=noise muxer=mplex is_dialer="false" node index.js

Haven't hooked it up to Go/Rust yet. Let me know if this PR suffices for you or if you need me to undertake some more steps.

In function of #97.

@GlenDC
Copy link
Contributor Author

GlenDC commented Jan 8, 2023

@MarcoPolo this PR is ready for review what is me concerned.

@MarcoPolo MarcoPolo force-pushed the patch/wo-testground-libp2p-js branch from 42fbfc8 to 9e8dc76 Compare January 9, 2023 00:46
Copy link
Contributor

@MarcoPolo MarcoPolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small comments. Looks great! I'll merge this soon.

In the mean time, please start the browser version. I'm imagining this will be almost identical to this node version, except once you have the listener addr, you start the playwright instance and connect.

@marten-seemann
Copy link
Contributor

Super happy to see this happen! The code looks really clean and straightforward, which is a big plus for the wo-testground architecture.

@MarcoPolo MarcoPolo force-pushed the patch/wo-testground-libp2p-js branch from d283cd5 to 0a3275f Compare January 10, 2023 19:15
@MarcoPolo
Copy link
Contributor

Merging this now, then merging #97 when CI passes :)

@MarcoPolo MarcoPolo merged commit 3d898d5 into libp2p:marco/wo-testground Jan 10, 2023
MarcoPolo added a commit that referenced this pull request Jan 10, 2023
* Add fast multidimensional interop tests

* Remove generated files

* Remove debug code around itnerfaces

* Revert changes to setup testground

* multidim-interop: update rust v050 test

for multidim-interop with redis

* Add depends on and enable rust version for testing

* Cleanup Rust test

* Have listener print multiaddr in go v024 test

* Remove EXPOSE in dockerfile

* Update multidim-interop/go/v0.24/main.go

Co-authored-by: João Oliveira <[email protected]>

* Update multidim-interop/go/v0.22/main.go

Co-authored-by: João Oliveira <[email protected]>

* Update multidim-interop/go/v0.23/main.go

Co-authored-by: João Oliveira <[email protected]>

* Go nits

* Cleanup Rust makefile

* add working ping test (js) or multidim-interop (#98)

* add working ping test (js) or multidim-interop

* Add JS-libp2p to interop tests

* ping libp2p-js (wo): resolve PR comments

* Add yamux js-libp2p test

Co-authored-by: Marco Munizaga <[email protected]>

* Fix Go err

* Ignore errors when shutting down

* Fix err

* Rename workflow

* Remove rust v0.49

* Bump up timeouts

Co-authored-by: João Oliveira <[email protected]>
Co-authored-by: Glen De Cauwsemaecker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants