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: "module-file-manager-e2e.log"
      setup_queries: []
      validation_queries: []

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

workloads:
  - name: "Module File Manager"
    binary: "tests/e2e/module_file_manager/memgraph__e2e__module_file_manager"
    args: ["--bolt-port", *bolt_port]
    <<: *in_memory_cluster

  - name: "Module File Manager multi database"
    binary: "tests/e2e/module_file_manager/memgraph__e2e__module_file_manager"
    args: ["--bolt-port", *bolt_port, "--multi-db", "true"]
    <<: *in_memory_cluster

  - name: "Module File Manager on disk"
    binary: "tests/e2e/module_file_manager/memgraph__e2e__module_file_manager"
    args: ["--bolt-port", *bolt_port]
    <<: *disk_cluster
