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:
@@ -15,7 +15,8 @@ using query::TypedValue;
|
||||
constexpr const int SIZE = 131072;
|
||||
uint8_t data[SIZE];
|
||||
|
||||
uint64_t GetBigEndianInt(std::vector<uint8_t> &v, uint8_t len, uint8_t offset = 1) {
|
||||
uint64_t GetBigEndianInt(std::vector<uint8_t> &v, uint8_t len,
|
||||
uint8_t offset = 1) {
|
||||
uint64_t ret = 0;
|
||||
v.erase(v.begin(), v.begin() + offset);
|
||||
for (int i = 0; i < len; ++i) {
|
||||
@@ -217,8 +218,7 @@ TEST(BoltEncoder, BoltV1ExampleMessages) {
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
InitializeData(data, SIZE);
|
||||
logging::init_sync();
|
||||
logging::log->pipe(std::make_unique<Stdout>());
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user