test: 3-way mesh conversation (test_32) + N0THRD third test client
test_32_three_way_conversation drives one distinct V2 client on each of the three mesh reflectors. All three select a TG owned by reflector 'b' (121001), then each talks in round-robin while the other two listen. Pass 1 primes m_peer_interested_tgs on every reflector pair; pass 2 measures and fails if any of the six sender→listener pairs delivers no UDP audio/flush. Exercises the owner-relay path (refA→refB→refC and refC→refB→refA) that test_11 and test_17 miss because they only use two reflectors. TEST_CLIENTS gains N0THRD — distinct callsigns are mandatory: when two non-owners forward TrunkTalkerStart to the owner with the same callsign, the owner's per-TG trunk-talker slot cannot disambiguate. A small MsgHeartbeat (type 1) keepalive is sent between turns so idle listener sockets do not hit HEARTBEAT_RX_CNT_RESET (15s).
This commit is contained in:
1 parent
9f4011d3e2
commit
7241239c92
2 files changed
+112
No files matched your search
@@ -93,6 +93,7 @@ MQTT = {
|
||||
TEST_CLIENTS = [
|
||||
{"callsign": "N0TEST", "group": "TestGroup", "password": "testpass"},
|
||||
{"callsign": "N0SEND", "group": "TestGroup", "password": "testpass"},
|
||||
{"callsign": "N0THRD", "group": "TestGroup", "password": "testpass"},
|
||||
]
|
||||
|
||||
# Shared secret between each pair: sorted tuple of names → secret
|
||||
|
||||
Reference in new issue
Block a user