Move RPC to root source directory

Reviewers: teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D2641
This commit is contained in:
Matej Ferencevic
2020-01-24 15:30:47 +01:00
parent 7d0590a753
commit de48548164
22 changed files with 71 additions and 72 deletions

View File

@@ -3,15 +3,15 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "communication/rpc/client.hpp"
#include "communication/rpc/client_pool.hpp"
#include "communication/rpc/messages.hpp"
#include "communication/rpc/server.hpp"
#include "rpc/client.hpp"
#include "rpc/client_pool.hpp"
#include "rpc/messages.hpp"
#include "rpc/server.hpp"
#include "utils/timer.hpp"
#include "rpc_messages.hpp"
using namespace communication::rpc;
using namespace rpc;
using namespace std::literals::chrono_literals;
namespace slk {
@@ -97,8 +97,7 @@ TEST(Rpc, Abort) {
});
utils::Timer timer;
EXPECT_THROW(client.Call<Sum>(10, 20),
communication::rpc::RpcFailedException);
EXPECT_THROW(client.Call<Sum>(10, 20), RpcFailedException);
EXPECT_LT(timer.Elapsed(), 200ms);
thread.join();