diff --git a/smoke-release-testing/experiment.bash b/smoke-release-testing/experiment.bash index 84ca44e8d..08e8b4fb6 100755 --- a/smoke-release-testing/experiment.bash +++ b/smoke-release-testing/experiment.bash @@ -2,10 +2,12 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$SCRIPT_DIR/utils.bash" +# TODO(gitbuda): Add v3.7 tests. + # NOTE: Use the below line if you just want to spin up the containers and leave them running. # run_memgraph_docker_containers RC RC # NOTE: Use the below line if you want to cleanup the containers after run of this script. -spinup_and_cleanup_memgraph_dockers none none +spinup_and_cleanup_memgraph_dockers none RC echo "Waiting for memgraph to initialize..." wait_for_memgraph $MEMGRAPH_DEFAULT_HOST $MEMGRAPH_NEXT_DATA_BOLT_PORT echo "Memgraph is up and running!" @@ -13,6 +15,9 @@ echo "Memgraph is up and running!" source ./mgconsole/user_profiles.bash test_user_profiles $MEMGRAPH_DEFAULT_HOST $MEMGRAPH_NEXT_DATA_BOLT_PORT +source ./mgconsole/load_xyz.bash +test_load_xyz $MEMGRAPH_DEFAULT_HOST $MEMGRAPH_NEXT_DATA_BOLT_PORT + # NOTE: Test what's the exit status of the script by using `echo $?`: # * if it's == 0 -> all good # * if it's != 0 -> something went wrong. diff --git a/smoke-release-testing/mgconsole/load_xyz.bash b/smoke-release-testing/mgconsole/load_xyz.bash new file mode 100755 index 000000000..936ec7f77 --- /dev/null +++ b/smoke-release-testing/mgconsole/load_xyz.bash @@ -0,0 +1,10 @@ +#!/bin/bash +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +source "$SCRIPT_DIR/../utils.bash" + +test_load_xyz() { + echo "FEATURE: LOAD CSV/JSONL/PARQUET" + # Added in v3.7. + # TODO(gitbuda): Create test files and mount them when starting containers. + run_next "LOAD PARQUET FROM 'nodes.parquet' AS row CREATE (n:Node {id: row.id});" +}