@@ -821,7 +821,7 @@ unit-tests: requirements .unit-tests
821821 @echo " ==================== tests ===================="
822822 @echo
823823 @echo " ----- Dropping st2-test db -----"
824- @mongo st2-test --eval " db.dropDatabase();"
824+ @mongosh st2-test --eval " db.dropDatabase();"
825825 @failed=0; \
826826 for component in $( COMPONENTS_TEST) ; do\
827827 echo " ===========================================================" ; \
@@ -847,7 +847,7 @@ endif
847847 @echo " ==================== unit tests with coverage ===================="
848848 @echo
849849 @echo " ----- Dropping st2-test db -----"
850- @mongo st2-test --eval " db.dropDatabase();"
850+ @mongosh st2-test --eval " db.dropDatabase();"
851851 failed=0; \
852852 for component in $( COMPONENTS_TEST) ; do\
853853 echo " ===========================================================" ; \
@@ -908,7 +908,7 @@ itests: requirements .itests
908908 @echo " ==================== integration tests ===================="
909909 @echo
910910 @echo " ----- Dropping st2-test db -----"
911- @mongo st2-test --eval " db.dropDatabase();"
911+ @mongosh st2-test --eval " db.dropDatabase();"
912912 @failed=0; \
913913 for component in $( COMPONENTS_TEST) ; do\
914914 echo " ===========================================================" ; \
@@ -932,7 +932,7 @@ endif
932932 @echo " ================ integration tests with coverage ================"
933933 @echo
934934 @echo " ----- Dropping st2-test db -----"
935- @mongo st2-test --eval " db.dropDatabase();"
935+ @mongosh st2-test --eval " db.dropDatabase();"
936936 @failed=0; \
937937 for component in $( COMPONENTS_TEST) ; do\
938938 echo " ===========================================================" ; \
@@ -1073,7 +1073,7 @@ runners-tests: requirements .runners-tests
10731073 @echo " ==================== runners-tests ===================="
10741074 @echo
10751075 @echo " ----- Dropping st2-test db -----"
1076- @mongo st2-test --eval " db.dropDatabase();"
1076+ @mongosh st2-test --eval " db.dropDatabase();"
10771077 @failed=0; \
10781078 for component in $( COMPONENTS_RUNNERS) ; do\
10791079 echo " ===========================================================" ; \
0 commit comments