Separate impersonation unrelated product tests into a new test job
@@ -19,6 +19,7 @@ env:
- TEST_OTHER_MODULES=!presto-tests,!presto-raptor,!presto-accumulo,!presto-cassandra,!presto-hive,!presto-docs,!presto-server,!presto-server-rpm
- PRODUCT_TESTS_BASIC_ENVIRONMENT=true
- PRODUCT_TESTS_SPECIFIC_ENVIRONMENT=true
+ - PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2=true
- HIVE_TESTS=true
sudo: required
@@ -42,7 +43,7 @@ install:
./mvnw install $MAVEN_FAST_INSTALL -pl '!presto-docs,!presto-server,!presto-server-rpm'
fi
- |
- if [[ -v PRODUCT_TESTS_BASIC_ENVIRONMENT || -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
+ if [[ -v PRODUCT_TESTS_BASIC_ENVIRONMENT || -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT || -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2 ]]; then
./mvnw install $MAVEN_FAST_INSTALL -pl '!presto-docs,!presto-server-rpm'
fi
- |
@@ -80,6 +81,11 @@ script:
presto-product-tests/bin/run_on_docker.sh \
singlenode -g hdfs_no_impersonation
fi
+ - |
+ if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
+ presto-product-tests/bin/run_on_docker.sh \
+ singlenode-kerberos-hdfs-no-impersonation -g hdfs_no_impersonation
+ fi
- |
if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
presto-product-tests/bin/run_on_docker.sh \
@@ -91,7 +97,7 @@ script:
singlenode-kerberos-hdfs-impersonation -g storage_formats,cli,hdfs_impersonation,authorization
fi
- |
- if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
+ if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2 ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode-ldap -g ldap -x simba_jdbc
fi
@@ -104,22 +110,22 @@ script:
# singlenode-sqlserver -g sqlserver
# fi
- |
- if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
+ if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2 ]]; then
presto-product-tests/bin/run_on_docker.sh \
multinode-tls -g smoke,cli,group-by,join,tls
fi
- |
- if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
+ if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2 ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode-mysql -g mysql_connector,mysql
fi
- |
- if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
+ if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2 ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode-postgresql -g postgresql_connector
fi
- |
- if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then
+ if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT_2 ]]; then
presto-product-tests/bin/run_on_docker.sh \
singlenode-cassandra -g cassandra
fi
