Databases and java pester tests (#2338)

* added mongodb postgres java tests

* fixed 1.7 and 12 Java on Ubuntu 20

* several improvments

* removed update-environment function

* add etc-environment import

* removed sourcing invoke-tests

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
This commit is contained in:
Leonid Lapshin
2020-12-30 18:04:55 +03:00
committed by GitHub
parent 86adee10d0
commit 3753e7b923
7 changed files with 93 additions and 46 deletions

View File

@@ -15,13 +15,8 @@ apt install postgresql postgresql-client
echo "Install libpq-dev"
apt-get install libpq-dev
#Verify that PostgreSQL is ready for accept incoming connections.
# exit codes:
# ready - 0
# reject - 1
# connection timeout - 2
pg_isready
# Disable postgresql.service
systemctl is-active --quiet postgresql.service && systemctl stop postgresql.service
systemctl disable postgresql.service
invoke_tests "Databases" "PostgreSQL"