Removing extra prints
This commit is contained in:
@@ -281,7 +281,6 @@ namespace daggy::daggyd {
|
|||||||
// HTML
|
// HTML
|
||||||
ss << "<html><header><title>Daggy "
|
ss << "<html><header><title>Daggy "
|
||||||
"Runs</title></header><body><center><h2>Current Runs</h2><br>";
|
"Runs</title></header><body><center><h2>Current Runs</h2><br>";
|
||||||
std::cout << "Reporting on " << dagRuns.size() << " dag runs\n";
|
|
||||||
if (!dagRuns.empty()) {
|
if (!dagRuns.empty()) {
|
||||||
std::sort(dagRuns.begin(), dagRuns.end(),
|
std::sort(dagRuns.begin(), dagRuns.end(),
|
||||||
[](const auto &a, const auto &b) {
|
[](const auto &a, const auto &b) {
|
||||||
|
|||||||
@@ -123,7 +123,6 @@ TEST_CASE("rest_endpoint", "[server_basic]")
|
|||||||
for (auto i = 0; i < 10; ++i) {
|
for (auto i = 0; i < 10; ++i) {
|
||||||
auto response =
|
auto response =
|
||||||
HTTP_REQUEST(baseURL + "/v1/dagrun/" + std::to_string(runID));
|
HTTP_REQUEST(baseURL + "/v1/dagrun/" + std::to_string(runID));
|
||||||
std::cout << response.body << std::endl;
|
|
||||||
REQUIRE(response.code == HTTPCode::Ok);
|
REQUIRE(response.code == HTTPCode::Ok);
|
||||||
rj::Document doc;
|
rj::Document doc;
|
||||||
daggy::checkRJParse(doc.Parse(response.body.c_str()));
|
daggy::checkRJParse(doc.Parse(response.body.c_str()));
|
||||||
|
|||||||
Reference in New Issue
Block a user