9d056e7649
Co-authored-by: Andi Skrgat <andi8647@gmail.com> Co-authored-by: Aidar Samerkhanov <aidar.samerkhanov@memgraph.io>
81 lines
3.3 KiB
YAML
81 lines
3.3 KiB
YAML
bolt_port: &bolt_port "7687"
|
|
template_cluster: &template_cluster
|
|
cluster:
|
|
main:
|
|
args: ["--bolt-port", *bolt_port, "--log-level=TRACE", "--storage-properties-on-edges=True"]
|
|
log_file: "triggers-e2e.log"
|
|
setup_queries: []
|
|
validation_queries: []
|
|
storage_properties_edges_false: &storage_properties_edges_false
|
|
cluster:
|
|
main:
|
|
args: ["--bolt-port", *bolt_port, "--log-level=TRACE", "--also-log-to-stderr", "--storage-properties-on-edges=False"]
|
|
log_file: "triggers-e2e.log"
|
|
setup_queries: []
|
|
validation_queries: []
|
|
disk_template_cluster: &disk_template_cluster
|
|
cluster:
|
|
main:
|
|
args: ["--bolt-port", *bolt_port, "--log-level=TRACE", "--storage-properties-on-edges=True"]
|
|
log_file: "triggers-e2e.log"
|
|
setup_queries: []
|
|
validation_queries: []
|
|
disk_storage_properties_edges_false: &disk_storage_properties_edges_false
|
|
cluster:
|
|
main:
|
|
args: ["--bolt-port", *bolt_port, "--log-level=TRACE", "--also-log-to-stderr", "--storage-properties-on-edges=False"]
|
|
log_file: "triggers-e2e.log"
|
|
setup_queries: []
|
|
validation_queries: []
|
|
|
|
workloads:
|
|
- name: "ON CREATE Triggers"
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_create"
|
|
args: ["--bolt-port", *bolt_port]
|
|
proc: "tests/e2e/triggers/procedures/"
|
|
<<: *template_cluster
|
|
- name: "ON UPDATE Triggers"
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_update"
|
|
args: ["--bolt-port", *bolt_port]
|
|
proc: "tests/e2e/triggers/procedures/"
|
|
<<: *template_cluster
|
|
- name: "ON DELETE Triggers Storage Properties On Edges True"
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_delete"
|
|
args: ["--bolt-port", *bolt_port]
|
|
proc: "tests/e2e/triggers/procedures/"
|
|
<<: *template_cluster
|
|
- name: "Triggers privilege check"
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__privileges"
|
|
args: ["--bolt-port", *bolt_port]
|
|
<<: *template_cluster
|
|
- name: "ON DELETE Triggers Storage Properties On Edges False" # should be the same as the python file
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
proc: "tests/e2e/triggers/procedures/"
|
|
args: ["triggers/triggers_properties_false.py"]
|
|
<<: *storage_properties_edges_false
|
|
|
|
- name: "ON CREATE Triggers on disk"
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_create"
|
|
args: ["--bolt-port", *bolt_port]
|
|
proc: "tests/e2e/triggers/procedures/"
|
|
<<: *disk_template_cluster
|
|
- name: "ON UPDATE Triggers on disk"
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_update"
|
|
args: ["--bolt-port", *bolt_port]
|
|
proc: "tests/e2e/triggers/procedures/"
|
|
<<: *disk_template_cluster
|
|
- name: "ON DELETE Triggers Storage Properties On Edges True On Disk"
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__on_delete"
|
|
args: ["--bolt-port", *bolt_port]
|
|
proc: "tests/e2e/triggers/procedures/"
|
|
<<: *disk_template_cluster
|
|
- name: "Triggers privilege check on disk"
|
|
binary: "tests/e2e/triggers/memgraph__e2e__triggers__privileges"
|
|
args: ["--bolt-port", *bolt_port]
|
|
<<: *disk_template_cluster
|
|
- name: "ON DELETE Triggers Storage Properties On Edges False On Disk" # should be the same as the python file
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
proc: "tests/e2e/triggers/procedures/"
|
|
args: ["triggers/triggers_properties_false.py"]
|
|
<<: *disk_storage_properties_edges_false
|