1 #include "BrokenTransferTest.hh"
3 #define TRACE_NAME "broken_transfer_driver"
5 #include "artdaq-core/Utilities/configureMessageFacility.hh"
6 #include "artdaq/Application/LoadParameterSet.hh"
7 #include "artdaq/DAQdata/Globals.hh"
9 int main(
int argc,
char* argv[])
12 artdaq::configureMessageFacility(
"broken_transfer_driver",
true,
true);
13 TLOG(TLVL_INFO) <<
"BEGIN";
15 auto ps = LoadParameterSet<artdaqtest::BrokenTransferTest::Config>(argc, argv,
"broken_transfer_test",
"Test for misbehaving transfer plugins");
17 if (ps.has_key(
"partition_number"))
24 theTest.TestSenderPause();
25 theTest.TestReceiverPause();
26 theTest.TestSenderReconnect();
27 theTest.TestReceiverReconnect();
28 theTest.TestReceiverReconnect(5);
30 TLOG(TLVL_INFO) <<
"END";
A class which simulates several failure modes for TransferPlugins such as sender pause/restart and re...
static int partition_number_
The partition number of the current application.