memgraph/tests/unit/database_master.cpp
Dominik Gleich 68a75eeca2 Add database master test
Summary: Seperate rpc server names

Reviewers: florijan, teon.banek

Reviewed By: florijan

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1118
2018-01-19 14:52:05 +01:00

12 lines
272 B
C++

#include "gtest/gtest.h"
#include "config.hpp"
#include "database/graph_db.hpp"
TEST(DatabaseMaster, Instantiate) {
database::Config config;
config.master_endpoint = io::network::Endpoint("127.0.0.1", 0);
config.worker_id = 0;
database::Master master(config);
}