From 458b3f22004fc8fe201062865993f41660d8d874 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 29 Apr 2020 17:56:24 +0200 Subject: [PATCH] Cleanup after removal of core-writer --- sf-buffer/src/sf_replay.cpp | 2 ++ sf-buffer/test/test_sf_replay.cpp | 11 +---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/sf-buffer/src/sf_replay.cpp b/sf-buffer/src/sf_replay.cpp index 5bd8c13..bbf59e9 100644 --- a/sf-buffer/src/sf_replay.cpp +++ b/sf-buffer/src/sf_replay.cpp @@ -5,6 +5,8 @@ #include "BufferUtils.hpp" #include "zmq.h" #include "buffer_config.hpp" +#include +#include "date.h" using namespace std; using namespace core_buffer; diff --git a/sf-buffer/test/test_sf_replay.cpp b/sf-buffer/test/test_sf_replay.cpp index 8b95986..c9e18e7 100644 --- a/sf-buffer/test/test_sf_replay.cpp +++ b/sf-buffer/test/test_sf_replay.cpp @@ -1,18 +1,9 @@ #include "gtest/gtest.h" -#include "../src/sf_replay.cpp" using namespace std; TEST(sf_replay, non_aligned_start) { - auto ctx = zmq_ctx_new(); - auto send_socket = zmq_socket(ctx, ZMQ_PUSH); - auto recv_socket = zmq_socket(ctx, ZMQ_PUSH); - - const int linger_ms = 0; - zmq_setsockopt(send_socket, ZMQ_LINGER, &linger_ms, sizeof(linger_ms)); - zmq_setsockopt(recv_socket, ZMQ_LINGER, &linger_ms, sizeof(linger_ms)); - -// sf_replay(); + // TODO: Write the test!! } \ No newline at end of file