memgraph/tests/e2e
andrejtonev 8b9e1fa08b
Replication refactor part 6 (#1484)
Single (instance level) connection to a replica (messages from all databases get multiplexed through it)
ReplicationClient split in two: ReplicationClient and ReplicationStorageClient
New ReplicationClient, moved under replication, handles the raw connection, owned by MainRoleData
ReplicationStorageClient handles the storage <-> replica state machine and holds to a stream
Removed epoch and storage from *Clients
rpc::Stream proactively aborts on error and sets itself to a defunct state
Removed HandleRpcFailure, instead we simply log the error and let the FrequentCheck handle re-connection
replica_state is now a synced variable
ReplicaStorageClient state machine bugfixes
Single FrequentCheck that goes through DBMS
Moved ReplicationState under DbmsHandler
Moved some replication startup logic under the DbmsHandler's constructor
Removed InMemoryReplicationClient
CreateReplicationClient has been removed from Storage
Simplified GetRecoverySteps and made safer

---------

Co-authored-by: Gareth Lloyd <gareth.lloyd@memgraph.io>
2023-11-23 11:02:35 +01:00
..
analytical_mode Fix IN_MEMORY_ANALYTICAL storage GC (#1025) 2023-06-23 12:50:03 +02:00
analyze_graph Add filtering details to EXPLAIN and PROFILE (#1265) 2023-10-25 21:36:20 +02:00
batched_procedures Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
concurrent_query_modules Fix concurrent query module race condition (#1158) 2023-08-21 16:45:36 +02:00
configuration Fix cached plan not getting invalidated (#1348) 2023-11-07 13:34:03 +01:00
constraints Add constraint verification update only on necessary actions (#1341) 2023-10-25 16:01:02 +02:00
disk_storage Extend Cypher queries with the index hinting feature (#1345) 2023-10-27 14:26:19 +02:00
fine_grained_access Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
garbage_collection Fix flaky GC test (#1521) 2023-11-17 17:06:46 -05:00
graphql Forbid changing isolation level for disk and analytical (#1367) 2023-10-23 06:02:56 +02:00
import_mode Add edge import mode into the on-disk storage (#1157) 2023-09-05 19:00:53 +02:00
index_hints Extend Cypher queries with the index hinting feature (#1345) 2023-10-27 14:26:19 +02:00
init_file_flags Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
inspect_query Fix PROFILE infinite loop (#1431) 2023-10-28 15:34:52 +02:00
isolation_levels Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
lba_procedures Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
load_csv Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
magic_functions Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
memory Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
mock_api Refactor disk storage (#1347) 2023-10-16 09:11:07 +02:00
module_file_manager Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
monitoring_server Save replication settings (#415) 2022-07-07 13:30:28 +02:00
python_query_modules_reloading Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
queries Add fix indexed join crash (#1478) 2023-11-12 22:12:25 -05:00
query_modules Add schema.assert (#1485) 2023-11-21 09:19:50 +01:00
replication Replication refactor part 6 (#1484) 2023-11-23 11:02:35 +01:00
server Save replication settings (#415) 2022-07-07 13:30:28 +02:00
set_properties Set properties C API extension (#1131) 2023-09-04 16:17:43 +02:00
show_index_info Add index count to index info (#1229) 2023-10-27 18:13:05 +02:00
streams Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
telemetry Merge master (#554) 2022-09-15 07:25:36 +02:00
temporal_types Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
transaction_queue Add disk storage to e2e tests (#1202) 2023-08-30 13:42:11 +02:00
transaction_rollback Add renaming of edge types (#1364) 2023-10-24 17:12:09 +02:00
triggers Fixes for clang-tidy / sonar issues (#1536) 2023-11-22 13:05:02 +00:00
write_procedures Refactor disk storage (#1347) 2023-10-16 09:11:07 +02:00
.gitignore Add end2end replication tests based on mgclient (#69) 2021-01-21 15:56:21 +01:00
CMakeLists.txt Fix GC by adding periodic jemalloc purge (#1471) 2023-11-14 15:06:21 -05:00
dependency_check.sh Add dependency check for e2e tests (#1240) 2023-09-12 11:34:08 -04:00
interactive_mg_runner.py Fix a bunch of spelling mistakes (1/n) (#1112) 2023-07-30 14:05:05 +02:00
memgraph-selfsigned.crt Fix shutdown call (#395) 2022-05-18 07:50:06 +02:00
memgraph-selfsigned.key Fix shutdown call (#395) 2022-05-18 07:50:06 +02:00
memgraph.py Use extent hooks for per query memory limit (#1340) 2023-10-25 16:01:59 +02:00
mg_utils.py Correct inconsistencies w.r.t. sync replication (#435) 2022-08-09 11:29:55 +02:00
pytest_runner.sh Python wrapper for write procedures (#234) 2021-10-02 13:17:41 +02:00
README.md Improve e2e and replication testing setup (#1061) 2023-07-19 21:18:43 +02:00
run.sh Add GQL behave tests for on-disk storage (#1238) 2023-10-10 09:27:11 +03:00
runner.py Move essential query modules from MAGE to Memgraph (#1384) 2023-10-25 18:27:44 +02:00
x.sh Move essential query modules from MAGE to Memgraph (#1384) 2023-10-25 18:27:44 +02:00

tests/e2e

Framework to run end-to-end tests against Memgraph.

Notes

  • If you change something under this directory and below (even a Python script), make has to be run again because all tests are copied to the build directory and executed from there.
  • Use/extend run.sh if you run any e2e tests:
    • if all tests have to executed, use run.sh
    • if a suite of tests have to be execute, take a look under run.sh how to do so
    • if only a single test have to be execute, take a look at each individual binary/script, it's possible to manually pick the test