Skip to content

Commit

Permalink
Remove Greenplum release step and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Apr 1, 2024
1 parent 0e21e53 commit e3f6bd0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
)
single_arch=(
testing/accumulo
testing/gpdb-6
testing/hdp3.1-hive
testing/hdp3.1-hive-kerberized
testing/hdp3.1-hive-kerberized-2
Expand Down
20 changes: 0 additions & 20 deletions bin/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ function run_hive_transactional_tests() {
true
}

function check_gpdb() {
environment_compose exec gpdb su gpadmin -l -c "pg_isready"
}

function check_spark() {
environment_compose exec spark curl -f http://localhost:10213
}
Expand All @@ -83,13 +79,6 @@ function check_health() {
test "$status" == "healthy"
}

function run_gpdb_tests() {
environment_compose exec gpdb su gpadmin -l -c "psql -c 'CREATE TABLE foo (a INT) DISTRIBUTED RANDOMLY'" &&
environment_compose exec gpdb su gpadmin -l -c "psql -c 'INSERT INTO foo VALUES (54)'" &&
environment_compose exec gpdb su gpadmin -l -c "psql -c 'SELECT a FROM foo'" &&
true
}

function run_kerberos_tests() {
sleep 60
environment_compose exec kerberos create_principal -o -p tola -k tola.keytab
Expand Down Expand Up @@ -193,15 +182,6 @@ for ARCH in "${platforms[@]}"; do
retry check_health
elif [[ ${ENVIRONMENT} == "kerberos" ]]; then
run_kerberos_tests
elif [[ ${ENVIRONMENT} == *"gpdb"* ]]; then
# wait until gpdb process is started
retry check_gpdb

# run tests
set -x
set +e
sleep 10
run_gpdb_tests
elif [[ ${ENVIRONMENT} == *"hive"* ]]; then
# wait until hadoop processes is started
retry check_hadoop
Expand Down

0 comments on commit e3f6bd0

Please sign in to comment.