bolt_port: &bolt_port "7687"
args: &args
  - "--bolt_port"
  - *bolt_port
  - "--log-level=TRACE"

in_memory_cluster: &in_memory_cluster
  cluster:
    main:
      args: *args
      log_file: "write-procedures-e2e.log"
      setup_queries: []
      validation_queries: []

disk_cluster: &disk_cluster
  cluster:
    main:
      args: *args
      log_file: "write-procedures-e2e.log"
      setup_queries:
        - "STORAGE MODE ON_DISK_TRANSACTIONAL"
      validation_queries: []

workloads:
  - name: "Write procedures simple"
    binary: "tests/e2e/pytest_runner.sh"
    proc: "tests/e2e/write_procedures/procedures/"
    args: ["write_procedures/simple_write.py"]
    <<: *in_memory_cluster

  - name: "Graph projection procedures"
    binary: "tests/e2e/pytest_runner.sh"
    proc: "tests/e2e/write_procedures/procedures/"
    args: ["write_procedures/read_subgraph.py"]
    <<: *in_memory_cluster
