diff --git a/test/k4FWCoreTest/src/components/TestUniqueIDGenSvc.cpp b/test/k4FWCoreTest/src/components/TestUniqueIDGenSvc.cpp index 00d5b677..3bc07bb8 100644 --- a/test/k4FWCoreTest/src/components/TestUniqueIDGenSvc.cpp +++ b/test/k4FWCoreTest/src/components/TestUniqueIDGenSvc.cpp @@ -21,7 +21,9 @@ DECLARE_COMPONENT(TestUniqueIDGenSvc) TestUniqueIDGenSvc::TestUniqueIDGenSvc(const std::string& aName, ISvcLocator* aSvcLoc) - : Gaudi::Algorithm(aName, aSvcLoc) {} + : Gaudi::Algorithm(aName, aSvcLoc) { + +} TestUniqueIDGenSvc::~TestUniqueIDGenSvc() {} diff --git a/test/k4FWCoreTest/src/components/k4FWCoreTest_AlgorithmWithTFile.cpp b/test/k4FWCoreTest/src/components/k4FWCoreTest_AlgorithmWithTFile.cpp index 8448e060..d93b2347 100644 --- a/test/k4FWCoreTest/src/components/k4FWCoreTest_AlgorithmWithTFile.cpp +++ b/test/k4FWCoreTest/src/components/k4FWCoreTest_AlgorithmWithTFile.cpp @@ -28,6 +28,8 @@ k4FWCoreTest_AlgorithmWithTFile::k4FWCoreTest_AlgorithmWithTFile(const std::stri : Gaudi::Algorithm(aName, aSvcLoc) { declareProperty("mcparticles", m_mcParticleHandle, "Dummy Particle collection (output)"); declareProperty("trackhits", m_simTrackerHitHandle, "Dummy Hit collection (output)"); + // Set Cardinality to 1 because this algorithm is not prepared to run in parallel + setProperty("Cardinality", 1).ignore(); } k4FWCoreTest_AlgorithmWithTFile::~k4FWCoreTest_AlgorithmWithTFile() {} diff --git a/test/k4FWCoreTest/src/components/k4FWCoreTest_HelloWorldAlg.cpp b/test/k4FWCoreTest/src/components/k4FWCoreTest_HelloWorldAlg.cpp index 380a4bec..a576a298 100644 --- a/test/k4FWCoreTest/src/components/k4FWCoreTest_HelloWorldAlg.cpp +++ b/test/k4FWCoreTest/src/components/k4FWCoreTest_HelloWorldAlg.cpp @@ -22,7 +22,10 @@ DECLARE_COMPONENT(k4FWCoreTest_HelloWorldAlg) k4FWCoreTest_HelloWorldAlg::k4FWCoreTest_HelloWorldAlg(const std::string& aName, ISvcLocator* aSvcLoc) - : Gaudi::Algorithm(aName, aSvcLoc) {} + : Gaudi::Algorithm(aName, aSvcLoc) { + // Set Cardinality to 1 because this algorithm is not prepared to run in parallel + setProperty("Cardinality", 1).ignore(); +} k4FWCoreTest_HelloWorldAlg::~k4FWCoreTest_HelloWorldAlg() {}