mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
test: name the pair tests and devices after what they use
- the Pair tests use an ipc address, but their names said tcp - add the missing separator in the req and sub device ids (sub_1zeromq -> sub_1_zeromq) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,17 +69,17 @@ auto RunPair(const string& transport, const string& extraDeviceCmdArgs) -> void
|
||||
exit(pairleft.exit_code + pairright.exit_code);
|
||||
}
|
||||
|
||||
TEST(Pair, SingleMsg_MultiThreaded_tcp_zeromq)
|
||||
TEST(Pair, SingleMsg_MultiThreaded_ipc_zeromq)
|
||||
{
|
||||
EXPECT_EXIT(RunPair("zeromq", ""), ::testing::ExitedWithCode(0), "PAIR test successfull");
|
||||
}
|
||||
|
||||
TEST(Pair, SingleMsg_MultiThreaded_tcp_shmem)
|
||||
TEST(Pair, SingleMsg_MultiThreaded_ipc_shmem)
|
||||
{
|
||||
EXPECT_EXIT(RunPair("shmem", ""), ::testing::ExitedWithCode(0), "PAIR test successfull");
|
||||
}
|
||||
|
||||
TEST(Pair, SingleMsg_MultiThreaded_tcp_shmem_expanded_metadata)
|
||||
TEST(Pair, SingleMsg_MultiThreaded_ipc_shmem_expanded_metadata)
|
||||
{
|
||||
EXPECT_EXIT(RunPair("shmem", " --shm-metadata-msg-size 2048"), ::testing::ExitedWithCode(0), "PAIR test successfull");
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ auto RunPubSub(string transport) -> void
|
||||
thread sub1_thread([&]() {
|
||||
stringstream cmd;
|
||||
cmd << runTestDevice
|
||||
<< " --id sub_1" << transport
|
||||
<< " --id sub_1_" << transport
|
||||
<< " --control static"
|
||||
<< " --transport " << transport
|
||||
<< " --session " << session
|
||||
@@ -65,7 +65,7 @@ auto RunPubSub(string transport) -> void
|
||||
thread sub2_thread([&]() {
|
||||
stringstream cmd;
|
||||
cmd << runTestDevice
|
||||
<< " --id sub_2" << transport
|
||||
<< " --id sub_2_" << transport
|
||||
<< " --control static"
|
||||
<< " --transport " << transport
|
||||
<< " --session " << session
|
||||
|
||||
@@ -48,7 +48,7 @@ auto RunReqRep(string transport, const string& extraDeviceCmdArgs) -> void
|
||||
thread req1_thread([&]() {
|
||||
stringstream cmd;
|
||||
cmd << runTestDevice
|
||||
<< " --id req_1" << transport
|
||||
<< " --id req_1_" << transport
|
||||
<< " --control static"
|
||||
<< " --transport " << transport
|
||||
<< " --shm-monitor true"
|
||||
@@ -64,7 +64,7 @@ auto RunReqRep(string transport, const string& extraDeviceCmdArgs) -> void
|
||||
thread req2_thread([&]() {
|
||||
stringstream cmd;
|
||||
cmd << runTestDevice
|
||||
<< " --id req_2" << transport
|
||||
<< " --id req_2_" << transport
|
||||
<< " --control static"
|
||||
<< " --transport " << transport
|
||||
<< " --shm-monitor true"
|
||||
|
||||
Reference in New Issue
Block a user