Install net-tools for netstat in Beaker tests 57/77557/4
authorDaniel Farrell <dfarrell@redhat.com>
Tue, 6 Nov 2018 17:42:24 +0000 (17:42 +0000)
committerDaniel Farrell <dfarrell@redhat.com>
Tue, 6 Nov 2018 21:27:29 +0000 (21:27 +0000)
The current Beaker acceptance tests use netstat to check when an ODL
port opens up. Looking at the log, it seems netstat is no longer
installed by default in our centos:7 container. Install net-tools
package in via nodefile.

JIRA: INTPAK-208
Change-Id: If631ba2f99a2360aeb0790b1d6e2f160b075c8b0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
spec/acceptance/nodesets/centos-7-docker.yml

index 89b9fb600a536ff1066d9bb0157d64c7e065ba5a..2b27c523cabe3ac3d54ebf399955a6c269d73fb2 100644 (file)
@@ -5,6 +5,8 @@ HOSTS:
       - master
     platform: el-7-x86_64
     image: centos:7
+    docker_image_commands:
+      - 'yum install -y net-tools'
     docker_cmd: '["/sbin/init"]'
     hypervisor: docker