fix(test): run protocol and poller devices on the tested transport

- the Pair, PushPull, ReqRep, PubSub and Poller tests started the test
  devices without --transport
- the devices used the default transport (zeromq), also in the tests
  for shmem; the shm options on the command line had no effect
- 8 tests named *shmem* tested zeromq only
- pass --transport to each device

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-03 14:01:18 +00:00
committed by Dennis Klein
parent 08aa37569a
commit 6fde1da288
5 changed files with 12 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ auto RunPubSub(string transport) -> void
cmd << runTestDevice
<< " --id pub_" << transport
<< " --control static"
<< " --transport " << transport
<< " --session " << session
<< " --color false"
<< " --channel-config name=data,type=pub,method=bind,address=" << dataAddress
@@ -52,6 +53,7 @@ auto RunPubSub(string transport) -> void
cmd << runTestDevice
<< " --id sub_1" << transport
<< " --control static"
<< " --transport " << transport
<< " --session " << session
<< " --color false"
<< " --channel-config name=data,type=sub,method=connect,address=" << dataAddress
@@ -65,6 +67,7 @@ auto RunPubSub(string transport) -> void
cmd << runTestDevice
<< " --id sub_2" << transport
<< " --control static"
<< " --transport " << transport
<< " --session " << session
<< " --color false"
<< " --channel-config name=data,type=sub,method=connect,address=" << dataAddress