2022-05-18 13:50:06 +08:00
|
|
|
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"
|
|
|
|
template_cluster: &template_cluster
|
|
|
|
cluster:
|
|
|
|
server:
|
2022-07-07 19:30:28 +08:00
|
|
|
args: ["--bolt-port=7687", "--log-level=TRACE"]
|
2022-05-18 13:50:06 +08:00
|
|
|
log_file: "server-connection-e2e.log"
|
|
|
|
template_cluster_ssl: &template_cluster_ssl
|
|
|
|
cluster:
|
|
|
|
server:
|
|
|
|
args:
|
|
|
|
[
|
|
|
|
"--bolt-port",
|
|
|
|
*bolt_port,
|
|
|
|
"--log-level=TRACE",
|
|
|
|
"--bolt-cert-file",
|
|
|
|
*cert_file,
|
|
|
|
"--bolt-key-file",
|
|
|
|
*key_file,
|
|
|
|
]
|
|
|
|
log_file: "server-connection-ssl-e2e.log"
|
|
|
|
ssl: true
|
|
|
|
|
|
|
|
workloads:
|
|
|
|
- name: "Server connection"
|
|
|
|
binary: "tests/e2e/server/memgraph__e2e__server_connection"
|
|
|
|
args: ["--bolt-port", *bolt_port]
|
|
|
|
<<: *template_cluster
|
|
|
|
- name: "Server SSL connection"
|
|
|
|
binary: "tests/e2e/server/memgraph__e2e__server_ssl_connection"
|
|
|
|
args: ["--bolt-port", *bolt_port]
|
|
|
|
<<: *template_cluster_ssl
|