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 discovery #37

Closed
5 tasks done
Eknir opened this issue Mar 31, 2020 · 2 comments
Closed
5 tasks done

Test discovery #37

Eknir opened this issue Mar 31, 2020 · 2 comments
Assignees

Comments

@Eknir
Copy link
Contributor

Eknir commented Mar 31, 2020

Requirements for isolated testing:

  • ability to create an isolated (network ports only available through vpn) temporary cluster of bee nodes where an underlay multiaddress of one node should be used as --bootnode value configuration parameter so that all other nodes connect to it
  • ability to monitor the number of established connections for every node, preferably with bee_libp2p_created_connection_count and bee_libp2p_handled_connection_count metrics
  • ability to make http calls to bee API endpoint to every node in order to manually test pingpong protocol between nodes
  • ability to make http calls to bee Debug API endpoint to every node in order to list connected peers
  • ability to completely destroy created cluster

List of bee's underlay multiaddresses can be retrieved by issuing an HTTP call to $IP:$DEBUG_API_PORT/addresses when #44 is merged. An address which is not on a loopback interface should be selected to be provided to other nodes as --bootnode parameter.

Metrics are exposed for prometheus to be collected on $IP:$DEBUG_API_PORT/metrics.

Requirements for public testing:

  • two permanent publicly accessible bee nodes (over P2P and API ports) which underlay multiaddresses would be provided to be used as bootnodes while manually testing
  • ability to access their Debug API endpoints though vpn

Optional but useful:

  • access to tracing data and log messages for every node

cc @svetomir @vandot

@Eknir Eknir added this to the Sprint 0 milestone Mar 31, 2020
@acud acud assigned acud, svetomir and vandot and unassigned acud Apr 6, 2020
@vandot vandot added the ready for review The PR is ready to be reviewed label Apr 14, 2020
@vandot vandot added in progress ongoing development , hold out with review and removed ready for review The PR is ready to be reviewed labels Apr 28, 2020
@Eknir
Copy link
Contributor Author

Eknir commented May 6, 2020

Hi guys, just wondering on the status of this issue? Is there still active work here, is it blocked?

@svetomir
Copy link
Contributor

svetomir commented May 6, 2020

Discovery is finished. I am closing the ticket.

@svetomir svetomir closed this as completed May 6, 2020
@svetomir svetomir removed the in progress ongoing development , hold out with review label May 6, 2020
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

No branches or pull requests

4 participants