8b9e1fa08b
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> |
||
---|---|---|
.. | ||
analytical_mode | ||
analyze_graph | ||
batched_procedures | ||
concurrent_query_modules | ||
configuration | ||
constraints | ||
disk_storage | ||
fine_grained_access | ||
garbage_collection | ||
graphql | ||
import_mode | ||
index_hints | ||
init_file_flags | ||
inspect_query | ||
isolation_levels | ||
lba_procedures | ||
load_csv | ||
magic_functions | ||
memory | ||
mock_api | ||
module_file_manager | ||
monitoring_server | ||
python_query_modules_reloading | ||
queries | ||
query_modules | ||
replication | ||
server | ||
set_properties | ||
show_index_info | ||
streams | ||
telemetry | ||
temporal_types | ||
transaction_queue | ||
transaction_rollback | ||
triggers | ||
write_procedures | ||
.gitignore | ||
CMakeLists.txt | ||
dependency_check.sh | ||
interactive_mg_runner.py | ||
memgraph-selfsigned.crt | ||
memgraph-selfsigned.key | ||
memgraph.py | ||
mg_utils.py | ||
pytest_runner.sh | ||
README.md | ||
run.sh | ||
runner.py | ||
x.sh |
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
- if all tests have to executed, use