Skip to content

Commit f820fa4

Browse files
committed
add java to tf-dev-sandbox for UT run
Change-Id: Id496bf560650fed9435b78f7aeb2b48aecb9148c
1 parent 6ef3177 commit f820fa4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

container/build-centos7.sh

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ yum -y install \
3737
rpmdevtools sudo gcc-c++ net-tools httpd \
3838
python-virtualenv python-future python-tox \
3939
elfutils-libelf-devel
40+
# next packages are required for UT
41+
yum -y install java-1.8.0-openjdk
4042
yum clean all
4143
rm -rf /var/cache/yum
4244
if [[ "$sclo" == '1' ]]; then

container/build-centos8.sh

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ yum -y install \
2525
python3-virtualenv python3-future python3-tox python3-devel python3-lxml \
2626
python2-devel python2 python2-setuptools
2727

28+
# next packages are required for UT
29+
yum -y install java-1.8.0-openjdk
30+
2831
# this is for net-snmp packages (it is not possible to use BuildRequires in spec
2932
# as it installs openssl-devel-1.1.1 which is incompatible with other Contrail comps
3033
# (3rd party bind and boost-1.53))

0 commit comments

Comments
 (0)