This website requires JavaScript.
Explore
Help
Register
Sign In
tursom
/
memgraph
Watch
1
Star
0
Fork
0
You've already forked memgraph
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c8d34c58ef
memgraph
/
tests
/
macro_benchmark
/
harness
/
groups
/
match
/
config.json
4 lines
25 B
JSON
Raw
Normal View
History
Unescape
Escape
Migrate harness to memgraph Reviewers: buda Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D532
2017-07-11 00:17:18 +08:00
{
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-05 19:54:28 +08:00
"iterations"
:
10
Migrate harness to memgraph Reviewers: buda Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D532
2017-07-11 00:17:18 +08:00
}
Reference in New Issue
Copy Permalink