memgraph/tests/macro_benchmark/harness/groups
florijan be16409da2 Harness MATCH tests refactored
Summary:
1. Test setup rewritten to take cca 8 seconds. Note that edges are created by using:
`MATCH (a) WITH a MATCH (b) WITH b WHERE rand() < X CREATE (a)-[:ET]->(b)`
Where `X` is a threshold calculated so the desired edge count is the expectation. This seems the only feasable way of generating a large number of edges since query execution does not depend on edge count, but on vertex count.

2. Using the new `assert` function to verify graph state. I recommend doing that in all the harness tests (I don't think we currently have something better).

3. All tests rewritten to take around 200ms per iteration.

4. Test are using SKIP to avoid sending data to the client, but ensure that appropriate operations get executed. This currently seems like the best way of removing unwanted side-effects.

Harness will cost us our sanity. And it doesn't even provide good quality regression testing we really need :(

Reviewers: buda, mislav.bradac, mferencevic

Reviewed By: mferencevic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D752
2017-09-07 12:05:05 +02:00
..
1000_create Add single_create group to harness 2017-08-28 11:45:12 +02:00
aggregation Add single_create group to harness 2017-08-28 11:45:12 +02:00
aggregation_parallel Add single_create group to harness 2017-08-28 11:45:12 +02:00
create_parallel Add single_create group to harness 2017-08-28 11:45:12 +02:00
delete Add single_create group to harness 2017-08-28 11:45:12 +02:00
dense_expand Harness - dense expand group added, more tests on bench 2017-09-06 14:58:50 +02:00
expression Add single_create group to harness 2017-08-28 11:45:12 +02:00
match Harness MATCH tests refactored 2017-09-07 12:05:05 +02:00
return Add single_create group to harness 2017-08-28 11:45:12 +02:00
unwind_create Add single_create group to harness 2017-08-28 11:45:12 +02:00
update Add single_create group to harness 2017-08-28 11:45:12 +02:00