Commit d1f4d52b authored by Eric Cano's avatar Eric Cano
Browse files

Remove debug printouts as the previous commit solves the race condition in CI...

Remove debug printouts as the previous commit solves the race condition in CI we were investigating.
parent 7c2d5fe0
......@@ -53,8 +53,7 @@ void StringLogger::reducedSyslog(const std::string & msg) {
m_log << msg.substr(0, m_maxMsgLen) << std::endl;
// Uncomment this to get the logs printed to stdout during unit tests.
// Temporarily enabled to better understand intermittent failures in continuous integration.
printf (msg.substr(0, m_maxMsgLen).c_str());
// printf (msg.substr(0, m_maxMsgLen).c_str());
}
} // namespace log
......
......@@ -31,8 +31,6 @@
#include "scheduler/RetrieveMount.hpp"
#include <memory>
// TODO: remove (RecallReportPacker::ReportDriveStatus allocation debug)
#include <iostream>
namespace castor {
namespace tape {
......@@ -164,16 +162,9 @@ private:
cta::common::dataStructures::DriveStatus m_status;
public:
ReportDriveStatus(cta::common::dataStructures::DriveStatus status): m_status(status) {
// TODO: remove when not needed (debug printf for intermittent memory leak in CI)
std::cout << ">>>> Allocated a RecallReportPacker::ReportDriveStatus:" << std::hex << this << std::endl;
}
ReportDriveStatus(cta::common::dataStructures::DriveStatus status): m_status(status) {}
void execute(RecallReportPacker& reportPacker) override;
bool goingToEnd() override;
// TODO: remove when not needed (debug printf for intermittent memory leak in CI)
virtual ~ReportDriveStatus() {
std::cout << "<<<< Deleted a RecallReportPacker::ReportDriveStatus:" << std::hex << this << std::endl;
}
};
class ReportEndofSession : public Report {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment