f629de7e60
* Storage takes care of the saving of setting when a new replica is added * Restore replicas at startup * Modify interactive_mg_runner + memgraph to support that data-directory can be configured in CONTEXT * Extend e2e test * Correct typo * Add flag to config to specify when replication should be stored (true by default when starting Memgraph) * Remove un-necessary "--" in yaml file * Make sure Memgraph stops if a replica can't be restored. * Add UT covering the parsing of ReplicaStatus to/from json * Add assert in e2e script to check that a port is free before using it * Add test covering crash on Jepsen * Make sure applciaiton crashes if it starts on corrupted replications' info Starting with a non-reponsive replica is allowed. * Add temporary startup flag: this is needed so jepsen do not automatically restore replica on startup of main. This will be removed in T0835
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
cert_file: &cert_file "$PROJECT_DIR/tests/e2e/memgraph-selfsigned.crt"
|
|
key_file: &key_file "$PROJECT_DIR/tests/e2e/memgraph-selfsigned.key"
|
|
bolt_port: &bolt_port "7687"
|
|
monitoring_port: &monitoring_port "7444"
|
|
template_cluster: &template_cluster
|
|
cluster:
|
|
monitoring:
|
|
args: ["--bolt-port=7687", "--log-level=TRACE"]
|
|
log_file: "monitoring-websocket-e2e.log"
|
|
template_cluster_ssl: &template_cluster_ssl
|
|
cluster:
|
|
monitoring:
|
|
args:
|
|
[
|
|
"--bolt-port",
|
|
*bolt_port,
|
|
"--monitoring-port",
|
|
*monitoring_port,
|
|
"--log-level=TRACE",
|
|
"--bolt-cert-file",
|
|
*cert_file,
|
|
"--bolt-key-file",
|
|
*key_file,
|
|
]
|
|
log_file: "monitoring-websocket-ssl-e2e.log"
|
|
ssl: true
|
|
|
|
workloads:
|
|
- name: "Monitoring server using WebSocket"
|
|
binary: "tests/e2e/monitoring_server/memgraph__e2e__monitoring_server"
|
|
args: ["--bolt-port", *bolt_port, "--monitoring-port", *monitoring_port]
|
|
<<: *template_cluster
|
|
- name: "Monitoring server using WebSocket SSL"
|
|
binary: "tests/e2e/monitoring_server/memgraph__e2e__monitoring_server_ssl"
|
|
args: ["--bolt-port", *bolt_port, "--monitoring-port", *monitoring_port]
|
|
<<: *template_cluster_ssl
|