Skip to content

Peer to peer topology tests #303

Merged
borrrden merged 16 commits into
mainfrom
p2p-topology
Nov 19, 2025
Merged

Peer to peer topology tests #303
borrrden merged 16 commits into
mainfrom
p2p-topology

Conversation

@sanjivanipatrax
Copy link
Copy Markdown
Contributor

This PR adds peer-to-peer topology test coverage and supporting framework improvements, including new test cases, support for disabling TLS on URLEndpointListener and test specs for mesh and loop topologies.

Features added:

  • End-to-end P2P topology tests for mesh and loop scenarios (in tests/QE/test_peer_to_peer_topology.py).
  • Markdown documentation for the P2P tests (in spec/QE/test_peer_to_peer_topology.md).
  • Helper updates: disable_tls support in API, hostname extraction in testserver.py.

@sanjivanipatrax sanjivanipatrax self-assigned this Nov 7, 2025
json["port"] = self.__port

if self.__disable_tls:
json["disableTLS"] = self.__disable_tls
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This cannot be simply added without a change in the API spec in the specs folder for v1 (and implementation on ALL platforms: Java and Android are missing). What is the need for disabling TLS anyway?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the feedback!

I didn’t realise the API spec needed to be updated first - I'll go ahead and add these changes there then?

I’ll also check the Java and Android parts and include the missing changes there.

About disabling TLS: these tests are for the P2P feature, and TLS isn’t a must for them. We can still have a few tests with TLS if needed, but it’s not really necessary for all cases.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 17, 2025

Redocly preview

API

@sanjivanipatrax sanjivanipatrax marked this pull request as ready for review November 17, 2025 06:50
Copy link
Copy Markdown
Member

@borrrden borrrden left a comment

Choose a reason for hiding this comment

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

A few small things

Comment thread spec/api/api.yaml
Comment thread spec/api/api.yaml Outdated
Comment thread tests/QE/test_peer_to_peer_topology.py Outdated
@borrrden borrrden merged commit ee6065d into main Nov 19, 2025
7 checks passed
@borrrden borrrden deleted the p2p-topology branch November 19, 2025 20:31
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.

2 participants