mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user