diff --git a/Control/DataModelTest/DataModelTestDataCommon/src/CondAlg1.cxx b/Control/DataModelTest/DataModelTestDataCommon/src/CondAlg1.cxx index f9558368f577638dc8f59646423a086780383af8..4dc64989f9467785b842b2d70c592444ed63f61f 100644 --- a/Control/DataModelTest/DataModelTestDataCommon/src/CondAlg1.cxx +++ b/Control/DataModelTest/DataModelTestDataCommon/src/CondAlg1.cxx @@ -59,6 +59,8 @@ StatusCode CondAlg1::execute (const EventContext& ctx) const auto s2 = std::make_unique<DMTest::S2> (xint*100); ATH_CHECK( scond.record (range, std::move(s2) ) ); + ATH_MSG_DEBUG("Recorded '" << scond.key() << "' with range " << range); + return StatusCode::SUCCESS; } diff --git a/Control/DataModelTest/DataModelTestDataCommon/src/CondAlg2.cxx b/Control/DataModelTest/DataModelTestDataCommon/src/CondAlg2.cxx index efb47aa0229eb0a72e514da47dd6356fe51c974c..b57466bc8dd088bd6eb4a3ed7b2db4980b0faad1 100644 --- a/Control/DataModelTest/DataModelTestDataCommon/src/CondAlg2.cxx +++ b/Control/DataModelTest/DataModelTestDataCommon/src/CondAlg2.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ /* */ @@ -82,6 +82,8 @@ StatusCode CondAlg2::execute (const EventContext& ctx) const auto s3 = std::make_unique<DMTest::S3> (xint_rl + xint_ts); ATH_CHECK( out.record (range, std::move(s3)) ); + ATH_MSG_DEBUG("Recorded '" << out.key() << "' with range " << range); + return StatusCode::SUCCESS; } diff --git a/Control/DataModelTest/DataModelTestDataCommon/src/CondWriterExtAlg.cxx b/Control/DataModelTest/DataModelTestDataCommon/src/CondWriterExtAlg.cxx index 50ff261f7b2f90d13e6a2394020ad1351458cf41..e19babc6a8eb57b978db8808440459401c49415e 100644 --- a/Control/DataModelTest/DataModelTestDataCommon/src/CondWriterExtAlg.cxx +++ b/Control/DataModelTest/DataModelTestDataCommon/src/CondWriterExtAlg.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "CondWriterExtAlg.h" @@ -49,12 +49,12 @@ StatusCode CondWriterExtAlg::execute() // Set IOV in the past to trigger reload in IOVSvc IOVRange iov_range(IOVTime(0, 0), IOVTime(0, 0)); ATH_CHECK( m_iovSvc->setRange(detStore()->clid(m_attrListKey), m_attrListKey, iov_range, "StoreGateSvc") ); - } // Drop folder payload ATH_CHECK( m_iovDbSvc->dropObject(m_attrListKey, /*resetCache=*/true), StatusCode::FAILURE ); + } - return StatusCode::SUCCESS; + return StatusCode::SUCCESS; } } // namespace DMTest