-
Notifications
You must be signed in to change notification settings - Fork 32
Add v3.5 smoke tests #643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add v3.5 smoke tests #643
Conversation
The main challenge with the HA cluster upgrade tests is that there are multiple different things to wait for (helm, port-forward, data/coordinator getting ready) -> it gets very complex very quickly. ## v3.4 - [x] Nested indices - [x] Vector search on edges - [x] Implement the k8s helm chart upgrade scenario - [x] Resolve memgraph/memgraph#3023 (any reuse of the PVCs failed) - [x] memgraph/best-practices#43 -> almost exactly the same, look at how the script is waiting for pods - [x] Make upgrades more robust -> https://www.notion.so/memgraph/How-to-make-upgrade-more-robust-1c26b158b98180a1a76cd8998e2e7ca4#1c36b158b98180f286d4eed383d1451a - [x] Add some other feature tests (expand test cases) -> skipped - [x] Put a timeout to the wait_for_memgraph function (default is 10s) - [x] Validate results / make sure to exit on errors / properly name / refactor Python scripts - [x] Test for if main is elected specifically before running any CREATE query on the cluster NEXT >> #643 --------- Co-authored-by: antejavor <[email protected]>
@@ -8,7 +8,7 @@ test_query_modules() { | |||
echo "FEATURE: All MAGE query modules" | |||
|
|||
# TODO(gitbuda): What are the 3 added modules? -> Probably the migration modules. | |||
echo "CALL mg.procedures() YIELD * RETURN count(*) AS cnt;" | $MEMGRAPH_CONSOLE_BINARY --host $__host --port $__port --output-format=csv | python3 $SCRIPT_DIR/validator.py first_as_int -f cnt -e 312 | |||
echo "CALL mg.procedures() YIELD * RETURN count(*) AS cnt;" | $MEMGRAPH_CONSOLE_BINARY --host $__host --port $__port --output-format=csv | python3 $SCRIPT_DIR/validator.py first_as_int -f cnt -e 313 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Make this more robust across testing different versions.
@@ -5,13 +5,13 @@ source "$SCRIPT_DIR/utils.bash" | |||
# 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 Dockerhub RC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Revert
|
TODOs
#607 << PREV