Fix py36 fail

- Fix py36 fail: Elasticsearch failed to start
- Remove non-voting for py36

Change-Id: Iad5163d5cb185a61a9bab7d8ad80ab12984f5f66
This commit is contained in:
Nguyen Hai 2018-09-01 17:10:36 +09:00
parent f506afbfec
commit 179b4e9bcf
2 changed files with 6 additions and 5 deletions

View File

@ -9,10 +9,6 @@
check:
jobs:
- openstack-tox-lower-constraints
- openstack-tox-py36:
voting: false
gate:
jobs:
- openstack-tox-lower-constraints
- openstack-tox-py36:
voting: false

View File

@ -7,7 +7,12 @@
# This setup needs to be run by a user that can run sudo.
sudo apt-get update
sudo apt-get install -y default-jre
. /etc/os-release
if [[ $VERSION_CODENAME = bionic ]]; then
sudo apt-get install -y openjdk-8-jre
else
sudo apt-get install -y default-jre
fi
wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.3.2/elasticsearch-2.3.2.deb
sudo dpkg -i elasticsearch-2.3.2.deb
# Make 'elasticsearch' binary callable from within functional tests