2021-05-19 00:28:17 +08:00
|
|
|
bolt_port: &bolt_port "7687"
|
2023-08-30 19:42:11 +08:00
|
|
|
args_properties_false: &args_properties_false
|
|
|
|
- "--bolt-port"
|
|
|
|
- *bolt_port
|
|
|
|
- "--log-level=TRACE"
|
|
|
|
- "--storage-properties-on-edges=False"
|
|
|
|
|
|
|
|
args_properties_true: &args_properties_true
|
|
|
|
- "--bolt-port"
|
|
|
|
- *bolt_port
|
|
|
|
- "--log-level=TRACE"
|
|
|
|
- "--storage-properties-on-edges=True"
|
|
|
|
|
|
|
|
storage_properties_edges_true_in_memory_cluster: &storage_properties_edges_true_in_memory_cluster
|
2021-05-19 00:28:17 +08:00
|
|
|
cluster:
|
|
|
|
main:
|
2023-08-30 19:42:11 +08:00
|
|
|
args: *args_properties_true
|
2023-01-18 22:05:10 +08:00
|
|
|
log_file: "triggers-e2e.log"
|
|
|
|
setup_queries: []
|
|
|
|
validation_queries: []
|
2023-08-30 19:42:11 +08:00
|
|
|
|
|
|
|
storage_properties_edges_false_in_memory_cluster: &storage_properties_edges_false_in_memory_cluster
|
2023-01-18 22:05:10 +08:00
|
|
|
cluster:
|
|
|
|
main:
|
2023-08-30 19:42:11 +08:00
|
|
|
args: *args_properties_false
|
2021-05-19 00:28:17 +08:00
|
|
|
log_file: "triggers-e2e.log"
|
|
|
|
setup_queries: []
|
|
|
|
validation_queries: []
|
2023-08-30 19:42:11 +08:00
|
|
|
|
|
|
|
storage_properties_edges_true_disk_cluster: &storage_properties_edges_true_disk_cluster
|
2023-06-29 17:44:55 +08:00
|
|
|
cluster:
|
|
|
|
main:
|
2023-08-30 19:42:11 +08:00
|
|
|
args: *args_properties_true
|
|
|
|
log_file: "triggers-e2e.log"
|
|
|
|
setup_queries:
|
|
|
|
- "STORAGE MODE ON_DISK_TRANSACTIONAL"
|
2023-06-29 17:44:55 +08:00
|
|
|
validation_queries: []
|
2023-08-30 19:42:11 +08:00
|
|
|
|
|
|
|
storage_properties_edges_false_disk_cluster: &storage_properties_edges_false_disk_cluster
|
2023-06-29 17:44:55 +08:00
|
|
|
cluster:
|
|
|
|
main:
|
2023-08-30 19:42:11 +08:00
|
|
|
args: *args_properties_false
|
|
|
|
log_file: "triggers-e2e.log"
|
|
|
|
setup_queries:
|
|
|
|
- "STORAGE MODE ON_DISK_TRANSACTIONAL"
|
2023-06-29 17:44:55 +08:00
|
|
|
validation_queries: []
|
2021-05-19 00:28:17 +08:00
|
|
|
|
2023-08-30 19:42:11 +08:00
|
|
|
|
2021-05-19 00:28:17 +08:00
|
|
|
workloads:
|
|
|
|
- name: "ON CREATE Triggers"
|
|
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_create"
|
|
|
|
args: ["--bolt-port", *bolt_port]
|
2021-10-11 19:39:57 +08:00
|
|
|
proc: "tests/e2e/triggers/procedures/"
|
2023-08-30 19:42:11 +08:00
|
|
|
<<: *storage_properties_edges_true_in_memory_cluster
|
|
|
|
|
2021-05-19 00:28:17 +08:00
|
|
|
- name: "ON UPDATE Triggers"
|
|
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_update"
|
|
|
|
args: ["--bolt-port", *bolt_port]
|
2021-10-11 19:39:57 +08:00
|
|
|
proc: "tests/e2e/triggers/procedures/"
|
2023-08-30 19:42:11 +08:00
|
|
|
<<: *storage_properties_edges_true_in_memory_cluster
|
|
|
|
|
2023-01-18 22:05:10 +08:00
|
|
|
- name: "ON DELETE Triggers Storage Properties On Edges True"
|
2021-05-19 00:28:17 +08:00
|
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_delete"
|
|
|
|
args: ["--bolt-port", *bolt_port]
|
2021-10-11 19:39:57 +08:00
|
|
|
proc: "tests/e2e/triggers/procedures/"
|
2023-08-30 19:42:11 +08:00
|
|
|
<<: *storage_properties_edges_true_in_memory_cluster
|
|
|
|
|
2021-07-22 22:22:08 +08:00
|
|
|
- name: "Triggers privilege check"
|
|
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__privileges"
|
|
|
|
args: ["--bolt-port", *bolt_port]
|
2023-08-30 19:42:11 +08:00
|
|
|
<<: *storage_properties_edges_true_in_memory_cluster
|
|
|
|
|
|
|
|
- name: "ON DELETE Triggers Storage Properties On Edges False"
|
2023-01-18 22:05:10 +08:00
|
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
|
|
proc: "tests/e2e/triggers/procedures/"
|
|
|
|
args: ["triggers/triggers_properties_false.py"]
|
2023-08-30 19:42:11 +08:00
|
|
|
<<: *storage_properties_edges_false_in_memory_cluster
|
2023-06-29 17:44:55 +08:00
|
|
|
|
2023-08-30 19:42:11 +08:00
|
|
|
- name: "ON CREATE Triggers for disk storage"
|
2023-06-29 17:44:55 +08:00
|
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_create"
|
|
|
|
args: ["--bolt-port", *bolt_port]
|
|
|
|
proc: "tests/e2e/triggers/procedures/"
|
2023-08-30 19:42:11 +08:00
|
|
|
<<: *storage_properties_edges_true_disk_cluster
|