memgraph/tests/stress
Matej Ferencevic 84a6ab75cb Fix race condition in long running stress test
Summary:
The long running stress test had a subtle race condition which caused the test
to fail with an error message like "Runner X edges creation failed because of:
Can't serialize due to concurrent operations.". This situation was caused
because some workers could complete their initialization (initial vertex and
edge creation) before other workers. The workers that completed their
initialization would then proceed to execute the test. In the test they could
execute queries that make global updates on the graph that could interfere with
the concurrently running initialization queries of other workers.

This diff makes the runners wait until all initialization queries are fully
executed before they execute global operations on the graph.

Reviewers: teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D2647
2020-01-29 10:19:53 +01:00
..
.gitignore Implement SSL support for servers and clients 2018-06-20 17:56:47 +02:00
apollo_runs.yaml Temporarily disable HA build and tests 2020-01-13 17:04:27 +01:00
bipartite.py Make memgraph with storage v2 the main binary 2019-12-06 10:51:16 +01:00
CMakeLists.txt Temporarily disable HA build and tests 2020-01-13 17:04:27 +01:00
common.py Implement SSL support for servers and clients 2018-06-20 17:56:47 +02:00
continuous_integration Improve long running stress test 2019-12-23 14:18:52 +01:00
continuous_integration_ha Rename Bolt flags 2019-12-09 11:24:09 +01:00
create_match.py Make memgraph with storage v2 the main binary 2019-12-06 10:51:16 +01:00
durability Rename Bolt flags 2019-12-09 11:24:09 +01:00
ha_normal_operation_long_running.cpp Add memgraph ha normal operation long running test 2019-07-09 13:59:56 +02:00
long_running.cpp Fix race condition in long running stress test 2020-01-29 10:19:53 +01:00
raft.json Adjust raft constants for long running tests 2019-08-13 10:40:24 +02:00
requirements.txt Libraries are now downloaded from our local cache server. 2017-08-25 09:58:39 +02:00