Use GLogger instead of broken memgraph Logger.

Summary:
http://rpg.ifi.uzh.ch/docs/glog.html

Second phase before tests complete.

Delete logging test.

Finish relase loging.

Reviewers: mislav.bradac, teon.banek, buda

Reviewed By: teon.banek

Subscribers: buda, pullbot

Differential Revision: https://phabricator.memgraph.io/D500
This commit is contained in:
Dominik Gleich
2017-06-21 11:29:13 +02:00
parent 19c0dfe084
commit e2f3aba332
103 changed files with 583 additions and 1252 deletions

View File

@@ -38,8 +38,8 @@ TEST(Network, Server) {
// start clients
std::vector<std::thread> clients;
for (int i = 0; i < N; ++i)
clients.push_back(
std::thread(client_run, i, interface, ep.port_str(), data, 30000, SIZE));
clients.push_back(std::thread(client_run, i, interface, ep.port_str(), data,
30000, SIZE));
// cleanup clients
for (int i = 0; i < N; ++i) clients[i].join();
@@ -50,8 +50,7 @@ TEST(Network, Server) {
}
int main(int argc, char **argv) {
logging::init_async();
logging::log->pipe(std::make_unique<Stdout>());
google::InitGoogleLogging(argv[0]);
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}