You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by is...@apache.org on 2022/09/09 20:00:48 UTC

[ignite-3] 07/17: IGNITE-17424 Cleanup

This is an automated email from the ASF dual-hosted git repository.

isapego pushed a commit to branch ignite-17424
in repository https://gitbox.apache.org/repos/asf/ignite-3.git

commit 5b0fc43ef3aa6256cfab4d6f01928c3afa43efa7
Author: Igor Sapego <is...@apache.org>
AuthorDate: Mon Aug 29 23:03:02 2022 +0400

    IGNITE-17424 Cleanup
---
 modules/platforms/cpp/test-common/include/ignite_node.h | 15 ---------------
 modules/platforms/cpp/test-common/src/ignite_node.cpp   | 17 -----------------
 2 files changed, 32 deletions(-)

diff --git a/modules/platforms/cpp/test-common/include/ignite_node.h b/modules/platforms/cpp/test-common/include/ignite_node.h
index 490a7985e0..c72ac06777 100644
--- a/modules/platforms/cpp/test-common/include/ignite_node.h
+++ b/modules/platforms/cpp/test-common/include/ignite_node.h
@@ -46,21 +46,6 @@ namespace ignite
          */
         void stop();
 
-//        /**
-//         * Check whether node is still running.
-//         *
-//         * @return @c true if the node is running.
-//         */
-//        bool isRunning();
-//
-//        /**
-//         * Get current node output.
-//         *
-//         * @param max Max bytes to get.
-//         * @return Output.
-//         */
-//        std::string getOutput(int max = 1024);
-
     private:
         /** Underlying process. */
         std::unique_ptr<Process> process;
diff --git a/modules/platforms/cpp/test-common/src/ignite_node.cpp b/modules/platforms/cpp/test-common/src/ignite_node.cpp
index 47807989a8..c4c7e8a9d1 100644
--- a/modules/platforms/cpp/test-common/src/ignite_node.cpp
+++ b/modules/platforms/cpp/test-common/src/ignite_node.cpp
@@ -17,8 +17,6 @@
 
 #include <filesystem>
 #include <stdexcept>
-#include <vector>
-#include <utility>
 #include <iostream>
 
 #include "ignite_node.h"
@@ -65,19 +63,4 @@ namespace ignite
         if (process)
             process->stop();
     }
-
-//    bool IgniteNode::isRunning()
-//    {
-//        return std::feof(stream) == 0 && std::ferror(stream) == 0;
-//    }
-//
-//    std::string IgniteNode::getOutput(int max)
-//    {
-//        std::string buffer(max, 0);
-//
-//        size_t actual = std::fread(buffer.data(), 1, max, stream);
-//        buffer.resize(actual);
-//
-//        return buffer;
-//    }
 } // namespace ignite
\ No newline at end of file