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

@@ -37,6 +37,7 @@ auto RunPoller(string transport, int pollType) -> void
cmd << runTestDevice
<< " --id pollout_"<< transport
<< " --control static"
<< " --transport " << transport
<< " --color false"
<< " --shm-monitor true"
<< " --session " << session
@@ -51,6 +52,7 @@ auto RunPoller(string transport, int pollType) -> void
cmd << runTestDevice
<< " --id pollin_" << transport
<< " --control static"
<< " --transport " << transport
<< " --color false"
<< " --shm-monitor true"
<< " --session " << session

View File

@@ -34,6 +34,7 @@ auto RunPair(const string& transport, const string& extraDeviceCmdArgs) -> void
cmd << runTestDevice
<< " --id pairleft_" << transport
<< " --control static"
<< " --transport " << transport
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
@@ -49,6 +50,7 @@ auto RunPair(const string& transport, const string& extraDeviceCmdArgs) -> void
cmd << runTestDevice
<< " --id pairright_" << transport
<< " --control static"
<< " --transport " << transport
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session

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

View File

@@ -34,6 +34,7 @@ auto RunPushPull(string transport, const string& extraDeviceCmdArgs) -> void
cmd << runTestDevice
<< " --id push_" << transport
<< " --control static"
<< " --transport " << transport
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
@@ -49,6 +50,7 @@ auto RunPushPull(string transport, const string& extraDeviceCmdArgs) -> void
cmd << runTestDevice
<< " --id pull_" << transport
<< " --control static"
<< " --transport " << transport
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session

View File

@@ -34,6 +34,7 @@ auto RunReqRep(string transport, const string& extraDeviceCmdArgs) -> void
cmd << runTestDevice
<< " --id rep_" << transport
<< " --control static"
<< " --transport " << transport
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
@@ -49,6 +50,7 @@ auto RunReqRep(string transport, const string& extraDeviceCmdArgs) -> void
cmd << runTestDevice
<< " --id req_1" << transport
<< " --control static"
<< " --transport " << transport
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session
@@ -64,6 +66,7 @@ auto RunReqRep(string transport, const string& extraDeviceCmdArgs) -> void
cmd << runTestDevice
<< " --id req_2" << transport
<< " --control static"
<< " --transport " << transport
<< " --shm-monitor true"
<< " --shm-segment-size 100000000"
<< " --session " << session