From 589f51c73aaa232c3f626fc66a7a805ac8209ea5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 14:01:22 +0000 Subject: [PATCH] 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 --- test/protocols/_pair.cxx | 6 +++--- test/protocols/_pub_sub.cxx | 4 ++-- test/protocols/_req_rep.cxx | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/protocols/_pair.cxx b/test/protocols/_pair.cxx index 86587052..019392d1 100644 --- a/test/protocols/_pair.cxx +++ b/test/protocols/_pair.cxx @@ -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"); } diff --git a/test/protocols/_pub_sub.cxx b/test/protocols/_pub_sub.cxx index c19941e7..5548dbf5 100644 --- a/test/protocols/_pub_sub.cxx +++ b/test/protocols/_pub_sub.cxx @@ -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 diff --git a/test/protocols/_req_rep.cxx b/test/protocols/_req_rep.cxx index 30fb8761..f30dc9d9 100644 --- a/test/protocols/_req_rep.cxx +++ b/test/protocols/_req_rep.cxx @@ -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"