memgraph/tests
Florijan Stamenkovic 1333bfeb39 Mvcc - unit test infrastructure setup
Summary:
Gradicek's Mvcc test have seen the following changes:
- provided a test infrastructure (fixture and macros) to facilitate testing and increase readability
- split tests into multi-transaction update, VersionList::find and general Mvcc testing
- multi-transaction update tests have been refactored (i *think* nothing got deleted, but it was a mess so I don't guarantee)
- changed all multithreaded tests to be single-threaded because multiple threads were not necessary
- changed transaction naming from T5, T8, T10 to T1, T2... for consistency with actual transaction indices

What still needs to be done:
- Gleich and Gradicek need to review the infrastructure (possible improvements)
- multi-transaction update tests need to be addressed by Gradicek (see "TODO gradicek" in code, discuss with Flor)
- the wiki/draw.io documentation needs to be updated. it is not imperative that all the tests be drawn in draw.io, only the general infrastructure explained. perhaps only a few examples drawn. Gradicek discuss with Flor
- Gleich see the "TODO Gleich" lines in the diff and discuss with flor

Suggested workflow:
- review this diff, hopefully land (before resolving all the TODOs)
- discard D169
- Gradicek and Gleich address the TODOs
- Flor reviews the results (in following diffs)

Reviewers: dgleich, matej.gradicek, buda

Reviewed By: matej.gradicek, buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D348
2017-05-05 14:46:18 +02:00
..
benchmark Add concurrent benchmarks for skiplist. 2017-05-03 11:03:23 +02:00
concurrent Fix Jenkins hang. 2017-05-03 15:58:46 +02:00
data Query stripping now uses a parse tree and differentiates between int literals in a range expression (not stripped) and outside of a range (stripped). 2017-03-08 14:19:55 +01:00
integration Add variable with all memgraph dependent libraries 2017-04-27 18:40:34 +02:00
manual Add variable with all memgraph dependent libraries 2017-04-27 18:40:34 +02:00
unit Mvcc - unit test infrastructure setup 2017-05-05 14:46:18 +02:00
client-stress.sh Started network refactorization. 2017-03-06 13:52:34 +01:00
CMakeLists.txt gbenchmark reports are generated inside build/test_results/benchmark 2016-12-23 09:58:26 +01:00