memgraph/tests
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
..
benchmark Move RPC to root source directory 2020-01-27 11:50:24 +01:00
concurrent Stop building storage v1 2020-01-13 14:18:12 +01:00
drivers Rename Bolt flags 2019-12-09 11:24:09 +01:00
feature_benchmark Temporarily disable HA build and tests 2020-01-13 17:04:27 +01:00
integration Temporarily disable HA build and tests 2020-01-13 17:04:27 +01:00
macro_benchmark Rename Bolt flags 2019-12-09 11:24:09 +01:00
manual Move KVStore to root source directory 2020-01-24 16:01:51 +01:00
property_based Migrate property_based tests to storage v2 2020-01-13 13:09:57 +01:00
public_benchmark Rename Bolt flags 2019-12-09 11:24:09 +01:00
qa Make memgraph with storage v2 the main binary 2019-12-06 10:51:16 +01:00
stress Fix race condition in long running stress test 2020-01-29 10:19:53 +01:00
unit Move RPC to root source directory 2020-01-27 11:50:24 +01:00
.clang-tidy Add .clang-tidy for tests and update the config 2019-10-31 16:07:09 +01:00
apollo_runs.py Implement WAL writing for storage v2 2019-10-29 16:18:12 +01:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Remove test_results directory from build 2019-04-25 17:20:02 +02:00