mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
test: parameterize the protocol, poller and transfer tests by transport
- Add test::TransportParam with the transport, the expanded shm metadata flag and a name generator for INSTANTIATE_TEST_SUITE_P() - Turn the per-transport TEST() copies into TEST_P() suites; the poller and transfer tests now also run with the expanded shm metadata - Name the multipart suite PushPullMultipart (it shared PushPull) - Discover the tests with NO_PRETTY_VALUES, so the ctest names are Suite.Case/transport - The test names change, e.g. Pair.SingleMsg_MultiThreaded_ipc_shmem is now Pair.SingleMsg_MultiThreaded_ipc/shmem Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -95,6 +95,7 @@ function(add_testsuite suitename)
|
||||
gtest_discover_tests(${target}
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||
TEST_PREFIX ${suitename}.
|
||||
NO_PRETTY_VALUES
|
||||
PROPERTIES RUN_SERIAL ${testsuite_RUN_SERIAL}
|
||||
TIMEOUT ${testsuite_TIMEOUT}
|
||||
${env}
|
||||
|
||||
81
test/helper/TransportParam.h
Normal file
81
test/helper/TransportParam.h
Normal file
@@ -0,0 +1,81 @@
|
||||
/********************************************************************************
|
||||
* Copyright (C) 2026 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
|
||||
* *
|
||||
* This software is distributed under the terms of the *
|
||||
* GNU Lesser General Public Licence (LGPL) version 3, *
|
||||
* copied verbatim in the file "LICENSE" *
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef FAIR_MQ_TEST_TRANSPORTPARAM_H
|
||||
#define FAIR_MQ_TEST_TRANSPORTPARAM_H
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
namespace fair::mq::test
|
||||
{
|
||||
|
||||
/// The parameter of a test suite that runs once per transport.
|
||||
/// The test names get the suffix Name(), e.g. "Resize.Basic/shmem".
|
||||
struct TransportParam
|
||||
{
|
||||
explicit TransportParam(std::string transportName, bool expanded = false)
|
||||
: transport(std::move(transportName))
|
||||
, expandedShmMetadata(expanded)
|
||||
{}
|
||||
|
||||
std::string transport;
|
||||
bool expandedShmMetadata;
|
||||
|
||||
auto Name() const -> std::string
|
||||
{
|
||||
return expandedShmMetadata ? transport + "_expanded_metadata" : transport;
|
||||
}
|
||||
|
||||
/// The command line options for a device process (see RunOptions).
|
||||
auto DeviceArgs() const -> std::string
|
||||
{
|
||||
return expandedShmMetadata ? "--shm-metadata-msg-size 2048" : "";
|
||||
}
|
||||
};
|
||||
|
||||
inline auto operator<<(std::ostream& os, TransportParam const& param) -> std::ostream&
|
||||
{
|
||||
return os << param.Name();
|
||||
}
|
||||
|
||||
/// zeromq, shmem, and shmem with the expanded metadata.
|
||||
inline auto AllTransports()
|
||||
{
|
||||
return testing::Values(TransportParam("zeromq"), TransportParam("shmem"), TransportParam("shmem", true));
|
||||
}
|
||||
|
||||
/// shmem, and shmem with the expanded metadata.
|
||||
inline auto ShmTransports()
|
||||
{
|
||||
return testing::Values(TransportParam("shmem"), TransportParam("shmem", true));
|
||||
}
|
||||
|
||||
/// zeromq and shmem.
|
||||
inline auto BasicTransports()
|
||||
{
|
||||
return testing::Values(TransportParam("zeromq"), TransportParam("shmem"));
|
||||
}
|
||||
|
||||
/// Name generator for INSTANTIATE_TEST_SUITE_P().
|
||||
struct TransportParamName
|
||||
{
|
||||
auto operator()(testing::TestParamInfo<TransportParam> const& info) const -> std::string
|
||||
{
|
||||
return info.param.Name();
|
||||
}
|
||||
};
|
||||
|
||||
using TransportTest = testing::TestWithParam<TransportParam>;
|
||||
|
||||
} // namespace fair::mq::test
|
||||
|
||||
#endif /* FAIR_MQ_TEST_TRANSPORTPARAM_H */
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <helper/Devices.h>
|
||||
#include <helper/Transport.h>
|
||||
#include <helper/TransportParam.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -19,8 +20,9 @@ namespace
|
||||
using namespace std;
|
||||
using namespace fair::mq::test;
|
||||
|
||||
auto RunPoller(string const& transport, int pollType) -> void
|
||||
auto RunPoller(TransportParam const& param, int pollType) -> void
|
||||
{
|
||||
auto const& transport = param.transport;
|
||||
IpcAddress const data1("poller_data1");
|
||||
IpcAddress const data2("poller_data2");
|
||||
|
||||
@@ -30,31 +32,25 @@ auto RunPoller(string const& transport, int pollType) -> void
|
||||
{"pollin_" + transport, "name=data1,type=pull,method=connect,address=" + data1.str()
|
||||
+ " name=data2,type=pull,method=connect,address=" + data2.str(),
|
||||
"--poll-type " + to_string(pollType)},
|
||||
}, RunOptions(transport));
|
||||
}, RunOptions(transport, param.DeviceArgs()));
|
||||
|
||||
for (auto const& result : results) {
|
||||
EXPECT_TRUE(Succeeded(result, transport));
|
||||
}
|
||||
}
|
||||
|
||||
TEST(Subchannel, zeromq)
|
||||
using Poller = TransportTest;
|
||||
|
||||
TEST_P(Poller, Subchannel)
|
||||
{
|
||||
RunPoller("zeromq", 0);
|
||||
RunPoller(GetParam(), 0);
|
||||
}
|
||||
|
||||
TEST(Subchannel, shmem)
|
||||
TEST_P(Poller, Channel)
|
||||
{
|
||||
RunPoller("shmem", 0);
|
||||
RunPoller(GetParam(), 1);
|
||||
}
|
||||
|
||||
TEST(Channel, zeromq)
|
||||
{
|
||||
RunPoller("zeromq", 1);
|
||||
}
|
||||
|
||||
TEST(Channel, shmem)
|
||||
{
|
||||
RunPoller("shmem", 1);
|
||||
}
|
||||
INSTANTIATE_TEST_SUITE_P(, Poller, AllTransports(), TransportParamName());
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <helper/Devices.h>
|
||||
#include <helper/Transport.h>
|
||||
#include <helper/TransportParam.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -19,33 +20,23 @@ namespace
|
||||
using namespace std;
|
||||
using namespace fair::mq::test;
|
||||
|
||||
auto RunPair(string const& transport, string const& extraArgs) -> void
|
||||
using Pair = TransportTest;
|
||||
|
||||
TEST_P(Pair, SingleMsg_MultiThreaded_ipc)
|
||||
{
|
||||
auto const& transport = GetParam().transport;
|
||||
IpcAddress const address("pair");
|
||||
|
||||
auto const results = RunDevices({
|
||||
{"pairleft_" + transport, "name=data,type=pair,method=bind,address=" + address.str()},
|
||||
{"pairright_" + transport, "name=data,type=pair,method=connect,address=" + address.str()},
|
||||
}, RunOptions(transport, extraArgs));
|
||||
}, RunOptions(transport, GetParam().DeviceArgs()));
|
||||
|
||||
for (auto const& result : results) {
|
||||
EXPECT_TRUE(Succeeded(result, transport));
|
||||
}
|
||||
}
|
||||
|
||||
TEST(Pair, SingleMsg_MultiThreaded_ipc_zeromq)
|
||||
{
|
||||
RunPair("zeromq", "");
|
||||
}
|
||||
|
||||
TEST(Pair, SingleMsg_MultiThreaded_ipc_shmem)
|
||||
{
|
||||
RunPair("shmem", "");
|
||||
}
|
||||
|
||||
TEST(Pair, SingleMsg_MultiThreaded_ipc_shmem_expanded_metadata)
|
||||
{
|
||||
RunPair("shmem", "--shm-metadata-msg-size 2048");
|
||||
}
|
||||
INSTANTIATE_TEST_SUITE_P(, Pair, AllTransports(), TransportParamName());
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <helper/Devices.h>
|
||||
#include <helper/Transport.h>
|
||||
#include <helper/TransportParam.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -19,8 +20,11 @@ namespace
|
||||
using namespace std;
|
||||
using namespace fair::mq::test;
|
||||
|
||||
auto RunPubSub(string const& transport) -> void
|
||||
using PubSub = TransportTest;
|
||||
|
||||
TEST_P(PubSub, MultiThreaded_ipc)
|
||||
{
|
||||
auto const& transport = GetParam().transport;
|
||||
IpcAddress const data("pub_sub_data");
|
||||
IpcAddress const control("pub_sub_control");
|
||||
|
||||
@@ -31,16 +35,14 @@ auto RunPubSub(string const& transport) -> void
|
||||
+ " name=control,type=pull,method=bind,address=" + control.str()},
|
||||
{"sub_1_" + transport, subChannels},
|
||||
{"sub_2_" + transport, subChannels},
|
||||
}, RunOptions(transport));
|
||||
}, RunOptions(transport, GetParam().DeviceArgs()));
|
||||
|
||||
for (auto const& result : results) {
|
||||
EXPECT_TRUE(Succeeded(result, transport));
|
||||
}
|
||||
}
|
||||
|
||||
TEST(PubSub, zeromq)
|
||||
{
|
||||
RunPubSub("zeromq");
|
||||
}
|
||||
// The shmem transport does not support pub/sub.
|
||||
INSTANTIATE_TEST_SUITE_P(, PubSub, testing::Values(TransportParam("zeromq")), TransportParamName());
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <helper/Devices.h>
|
||||
#include <helper/Transport.h>
|
||||
#include <helper/TransportParam.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -19,33 +20,23 @@ namespace
|
||||
using namespace std;
|
||||
using namespace fair::mq::test;
|
||||
|
||||
auto RunPushPull(string const& transport, string const& extraArgs) -> void
|
||||
using PushPull = TransportTest;
|
||||
|
||||
TEST_P(PushPull, SingleMsg_MultiThreaded_ipc)
|
||||
{
|
||||
auto const& transport = GetParam().transport;
|
||||
IpcAddress const address("push_pull");
|
||||
|
||||
auto const results = RunDevices({
|
||||
{"push_" + transport, "name=data,type=push,method=bind,address=" + address.str()},
|
||||
{"pull_" + transport, "name=data,type=pull,method=connect,address=" + address.str()},
|
||||
}, RunOptions(transport, extraArgs));
|
||||
}, RunOptions(transport, GetParam().DeviceArgs()));
|
||||
|
||||
for (auto const& result : results) {
|
||||
EXPECT_TRUE(Succeeded(result, transport));
|
||||
}
|
||||
}
|
||||
|
||||
TEST(PushPull, SingleMsg_MultiThreaded_ipc_zeromq)
|
||||
{
|
||||
RunPushPull("zeromq", "");
|
||||
}
|
||||
|
||||
TEST(PushPull, SingleMsg_MultiThreaded_ipc_shmem)
|
||||
{
|
||||
RunPushPull("shmem", "");
|
||||
}
|
||||
|
||||
TEST(PushPull, SingleMsg_MultiThreaded_ipc_shmem_expanded_metadata)
|
||||
{
|
||||
RunPushPull("shmem", "--shm-metadata-msg-size 2048");
|
||||
}
|
||||
INSTANTIATE_TEST_SUITE_P(, PushPull, AllTransports(), TransportParamName());
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <fairmq/TransportFactory.h>
|
||||
#include <fairmq/tools/Unique.h>
|
||||
#include <helper/Transport.h>
|
||||
#include <helper/TransportParam.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
@@ -26,14 +27,12 @@ namespace
|
||||
using namespace std;
|
||||
using namespace fair::mq;
|
||||
|
||||
auto RunSingleThreadedMultipart(string const& transport, string const& address1, string const& address2, bool expandedShmMetadata) -> void
|
||||
auto RunSingleThreadedMultipart(test::TransportParam const& param, string const& address1, string const& address2) -> void
|
||||
{
|
||||
|
||||
fair::mq::ProgOptions config;
|
||||
test::Configure(config, tools::Uuid(), expandedShmMetadata);
|
||||
test::Configure(config, tools::Uuid(), param.expandedShmMetadata);
|
||||
|
||||
|
||||
auto factory = TransportFactory::CreateTransportFactory(transport, tools::Uuid(), &config);
|
||||
auto factory = TransportFactory::CreateTransportFactory(param.transport, tools::Uuid(), &config);
|
||||
|
||||
Channel push1("Push1", "push", factory);
|
||||
ASSERT_TRUE(push1.Bind(address1));
|
||||
@@ -105,15 +104,14 @@ auto RunSingleThreadedMultipart(string const& transport, string const& address1,
|
||||
}
|
||||
}
|
||||
|
||||
auto RunMultiThreadedMultipart(string const& transport, string const& address1, bool expandedShmMetadata) -> void
|
||||
auto RunMultiThreadedMultipart(test::TransportParam const& param, string const& address1) -> void
|
||||
{
|
||||
ProgOptions config;
|
||||
test::Configure(config, tools::Uuid(), expandedShmMetadata);
|
||||
test::Configure(config, tools::Uuid(), param.expandedShmMetadata);
|
||||
config.SetProperty<int>("io-threads", 1);
|
||||
config.SetProperty<size_t>("shm-segment-size", 20000000); // NOLINT
|
||||
|
||||
|
||||
auto factory = TransportFactory::CreateTransportFactory(transport, tools::Uuid(), &config);
|
||||
auto factory = TransportFactory::CreateTransportFactory(param.transport, tools::Uuid(), &config);
|
||||
|
||||
Channel push1("Push1", "push", factory);
|
||||
ASSERT_TRUE(push1.Bind(address1));
|
||||
@@ -148,70 +146,30 @@ auto RunMultiThreadedMultipart(string const& transport, string const& address1,
|
||||
puller.join();
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_SingleThreaded_inproc_zeromq) // NOLINT
|
||||
using PushPullMultipart = test::TransportTest;
|
||||
|
||||
TEST_P(PushPullMultipart, SingleThreaded_inproc) // NOLINT
|
||||
{
|
||||
RunSingleThreadedMultipart("zeromq", "inproc://test1", "inproc://test2", false);
|
||||
RunSingleThreadedMultipart(GetParam(), "inproc://test1", "inproc://test2");
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_SingleThreaded_inproc_shmem) // NOLINT
|
||||
{
|
||||
RunSingleThreadedMultipart("shmem", "inproc://test1", "inproc://test2", false);
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_SingleThreaded_inproc_shmem_expanded_metadata) // NOLINT
|
||||
{
|
||||
RunSingleThreadedMultipart("shmem", "inproc://test1", "inproc://test2", true);
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_SingleThreaded_ipc_zeromq) // NOLINT
|
||||
TEST_P(PushPullMultipart, SingleThreaded_ipc) // NOLINT
|
||||
{
|
||||
test::IpcAddress const address1("multipart_1"), address2("multipart_2");
|
||||
RunSingleThreadedMultipart("zeromq", address1, address2, false);
|
||||
RunSingleThreadedMultipart(GetParam(), address1, address2);
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_SingleThreaded_ipc_shmem) // NOLINT
|
||||
TEST_P(PushPullMultipart, MultiThreaded_inproc) // NOLINT
|
||||
{
|
||||
test::IpcAddress const address1("multipart_1"), address2("multipart_2");
|
||||
RunSingleThreadedMultipart("shmem", address1, address2, false);
|
||||
RunMultiThreadedMultipart(GetParam(), "inproc://test_1");
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_SingleThreaded_ipc_shmem_expanded_metadata) // NOLINT
|
||||
{
|
||||
test::IpcAddress const address1("multipart_1"), address2("multipart_2");
|
||||
RunSingleThreadedMultipart("shmem", address1, address2, true);
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_MultiThreaded_inproc_zeromq) // NOLINT
|
||||
{
|
||||
RunMultiThreadedMultipart("zeromq", "inproc://test_1", false);
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_MultiThreaded_inproc_shmem) // NOLINT
|
||||
{
|
||||
RunMultiThreadedMultipart("shmem", "inproc://test_1", false);
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_MultiThreaded_inproc_shmem_expanded_metadata) // NOLINT
|
||||
{
|
||||
RunMultiThreadedMultipart("shmem", "inproc://test_1", true);
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_MultiThreaded_ipc_zeromq) // NOLINT
|
||||
TEST_P(PushPullMultipart, MultiThreaded_ipc) // NOLINT
|
||||
{
|
||||
test::IpcAddress const address("multipart");
|
||||
RunMultiThreadedMultipart("zeromq", address, false);
|
||||
RunMultiThreadedMultipart(GetParam(), address);
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_MultiThreaded_ipc_shmem) // NOLINT
|
||||
{
|
||||
test::IpcAddress const address("multipart");
|
||||
RunMultiThreadedMultipart("shmem", address, false);
|
||||
}
|
||||
|
||||
TEST(PushPull, Multipart_MultiThreaded_ipc_shmem_expanded_metadata) // NOLINT
|
||||
{
|
||||
test::IpcAddress const address("multipart");
|
||||
RunMultiThreadedMultipart("shmem", address, true);
|
||||
}
|
||||
INSTANTIATE_TEST_SUITE_P(, PushPullMultipart, test::AllTransports(), test::TransportParamName());
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <helper/Devices.h>
|
||||
#include <helper/Transport.h>
|
||||
#include <helper/TransportParam.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -19,34 +20,24 @@ namespace
|
||||
using namespace std;
|
||||
using namespace fair::mq::test;
|
||||
|
||||
auto RunReqRep(string const& transport, string const& extraArgs) -> void
|
||||
using ReqRep = TransportTest;
|
||||
|
||||
TEST_P(ReqRep, MultiThreaded_ipc)
|
||||
{
|
||||
auto const& transport = GetParam().transport;
|
||||
IpcAddress const address("req_rep");
|
||||
|
||||
auto const results = RunDevices({
|
||||
{"rep_" + transport, "name=data,type=rep,method=bind,address=" + address.str()},
|
||||
{"req_1_" + transport, "name=data,type=req,method=connect,address=" + address.str()},
|
||||
{"req_2_" + transport, "name=data,type=req,method=connect,address=" + address.str()},
|
||||
}, RunOptions(transport, extraArgs));
|
||||
}, RunOptions(transport, GetParam().DeviceArgs()));
|
||||
|
||||
for (auto const& result : results) {
|
||||
EXPECT_TRUE(Succeeded(result, transport));
|
||||
}
|
||||
}
|
||||
|
||||
TEST(ReqRep, zeromq)
|
||||
{
|
||||
RunReqRep("zeromq", "");
|
||||
}
|
||||
|
||||
TEST(ReqRep, shmem)
|
||||
{
|
||||
RunReqRep("shmem", "");
|
||||
}
|
||||
|
||||
TEST(ReqRep, shmem_expanded_metadata)
|
||||
{
|
||||
RunReqRep("shmem", "--shm-metadata-msg-size 2048");
|
||||
}
|
||||
INSTANTIATE_TEST_SUITE_P(, ReqRep, AllTransports(), TransportParamName());
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
#include <fairmq/Channel.h>
|
||||
#include <fairmq/TransportFactory.h>
|
||||
#include <fairmq/ProgOptions.h>
|
||||
#include <fairmq/tools/Strings.h>
|
||||
#include <fairmq/tools/Unique.h>
|
||||
|
||||
#include <helper/Devices.h>
|
||||
#include <helper/Transport.h>
|
||||
#include <helper/TransportParam.h>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -35,8 +35,11 @@ void delayedInterruptor(TransportFactory& transport)
|
||||
transport.Interrupt();
|
||||
}
|
||||
|
||||
auto RunTransferTimeout(string const& transport) -> void
|
||||
using TransferTimeout = TransportTest;
|
||||
|
||||
TEST_P(TransferTimeout, Device)
|
||||
{
|
||||
auto const& transport = GetParam().transport;
|
||||
IpcAddress const dataIn("transfer_timeout_in");
|
||||
IpcAddress const dataOut("transfer_timeout_out");
|
||||
|
||||
@@ -44,18 +47,20 @@ auto RunTransferTimeout(string const& transport) -> void
|
||||
{"transfer_timeout_" + transport,
|
||||
"name=data-in,type=pull,method=bind,address=" + dataIn.str()
|
||||
+ " name=data-out,type=push,method=bind,address=" + dataOut.str()},
|
||||
}, RunOptions(transport, "--severity debug"));
|
||||
}, RunOptions(transport, GetParam().DeviceArgs() + " --severity debug"));
|
||||
|
||||
EXPECT_TRUE(Succeeded(results.at(0), transport));
|
||||
}
|
||||
|
||||
void InterruptTransfer(const string& transport, const string& name)
|
||||
using InterruptTransfer = TransportTest;
|
||||
|
||||
TEST_P(InterruptTransfer, Receive)
|
||||
{
|
||||
size_t session{UuidHash()};
|
||||
test::IpcAddress const address(ToString(name, "_", transport));
|
||||
auto const& transport = GetParam().transport;
|
||||
test::IpcAddress const address("interrupt_transfer_" + transport);
|
||||
|
||||
fair::mq::ProgOptions config;
|
||||
test::Configure(config, to_string(session));
|
||||
test::Configure(config, Uuid(), GetParam().expandedShmMetadata);
|
||||
|
||||
auto factory = TransportFactory::CreateTransportFactory(transport, Uuid(), &config);
|
||||
|
||||
@@ -71,24 +76,7 @@ void InterruptTransfer(const string& transport, const string& name)
|
||||
ASSERT_EQ(result, static_cast<int>(fair::mq::TransferCode::interrupted));
|
||||
}
|
||||
|
||||
TEST(TransferTimeout, zeromq)
|
||||
{
|
||||
RunTransferTimeout("zeromq");
|
||||
}
|
||||
|
||||
TEST(TransferTimeout, shmem)
|
||||
{
|
||||
RunTransferTimeout("shmem");
|
||||
}
|
||||
|
||||
TEST(InterruptTransfer, zeromq)
|
||||
{
|
||||
InterruptTransfer("zeromq", "interrupt_transfer");
|
||||
}
|
||||
|
||||
TEST(InterruptTransfer, shmem)
|
||||
{
|
||||
InterruptTransfer("shmem", "interrupt_transfer");
|
||||
}
|
||||
INSTANTIATE_TEST_SUITE_P(, TransferTimeout, AllTransports(), TransportParamName());
|
||||
INSTANTIATE_TEST_SUITE_P(, InterruptTransfer, AllTransports(), TransportParamName());
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user