Jackie-Jiang commented on a change in pull request #7257:
URL: https://github.com/apache/pinot/pull/7257#discussion_r685445388
##########
File path: .github/workflows/scripts/.pinot_test.sh
##########
@@ -25,9 +25,71 @@ java -version
ifconfig
netstat -i
-# Only run integration tests if needed
if [ "$RUN_INTEGRATION_TESTS" != false ]; then
- mvn test -B -P github-actions,integration-tests-only && exit 0 || exit 1
+ # Integration Tests
+ mvn install -DskipTests -am -B -pl 'pinot-integration-tests' -T 16 || exit 1
+ if [ "$RUN_TEST_SET" == "1" ]; then
+ mvn test -am -B \
+ -pl 'pinot-integration-tests' \
+ -Dtest='C*Test,L*Test,M*Test,R*Test,S*Test' \
+ -P github-actions,integration-tests-only && exit 0 || exit 1
+ fi
+ if [ "$RUN_TEST_SET" == "2" ]; then
+ mvn test -am -B \
+ -pl 'pinot-integration-tests' \
+ -Dtest='!C*Test,!L*Test,!M*Test,!R*Test,!S*Test' \
+ -P github-actions,integration-tests-only && exit 0 || exit 1
+ fi
else
- mvn test -B -P github-actions,no-integration-tests && exit 0 || exit 1
+ # Unit Tests
+ if [ "$RUN_TEST_SET" == "1" ]; then
+ mvn install -DskipTests -am -B -T 16 \
Review comment:
Should we just remove the `-DskipTests` here to install and test at the
same time?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]