memgraph/tests/integration
Dominik Gleich 919258d6f6 Fix integration_engine crash.
Summary:
This should fix the integration query engine test. I'm not exactly sure what caused the SEGFAULT to occur, but from my debugging sessions; I would say, as an educated guess that it's closely related to logger. What I believe happens is that logger gets somehow initialized from the dynamic_library when it's opened. And when the library is closed the corresponding logger is freed, but, other parts of memgraph still see that instance of logger and trying to use to emit code makes the whole thing crash. I've removed one include of logger from something which gets included in the hardcoded queries, but I noticed there are some more.

I've changed the dlopen to now open with DEEPBIND, which should cause symbols to be resolved locally and not globally and stop the logger from the dynamic lib to interfer with the one used in the rest of memgraph.

Reviewers: buda

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D234
2017-04-06 11:49:12 +02:00
..
hardcoded_query Fix hardcoded query bug 2017-04-04 18:47:42 +02:00
scenario Dressipi Test Cases No 1 - DONE 2016-11-04 01:49:21 +01:00
stream Initial version of mvcc_gc. 2017-03-29 12:38:24 +02:00
__init__.py scenario 000001 pass, dressipi scenario 1 - 3 more queries have to be implemented 2016-11-02 16:05:02 +01:00
CMakeLists.txt A better configuration of cmake & clion 2017-02-20 01:25:57 +01:00
crud.py scenario 000001 pass, dressipi scenario 1 - 3 more queries have to be implemented 2016-11-02 16:05:02 +01:00
query_engine_common.hpp Fix integration_engine crash. 2017-04-06 11:49:12 +02:00
query_engine.cpp Fix bug -db_accessor passed along as & 2017-03-07 15:55:56 +01:00
scenario.py Dressipi Test Cases No 1 - DONE 2016-11-04 01:49:21 +01:00