Add zookeeper to bindep

This is to work around a bug in zuul, where it needs zookeeper to be
installed to start properly.

Change-Id: I75498a71af1290db1b2d1fb0214b5ecc393b1e4d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-03-06 15:38:48 -05:00
parent 14287ebb0f
commit a6b24f0a25
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,6 @@
- job: - job:
name: ansible-role-zuul name: ansible-role-zuul
parent: unittests
run: tests/test.yaml run: tests/test.yaml
post-run: tests/collect-logs.yaml post-run: tests/collect-logs.yaml
required-projects: required-projects:

View File

@ -7,3 +7,9 @@ libselinux-python [platform:rpm]
libssl-dev [platform:dpkg] libssl-dev [platform:dpkg]
openssl-devel [platform:rpm] openssl-devel [platform:rpm]
python2-dnf [platform:fedora] python2-dnf [platform:fedora]
# NOTE(pabelanger): This is because of a bug in zuul, when zuul-scheduler starts
# it will fail unless it cannot connect to zookeeper. However, zuul should be
# smart enough to try forever to connect.
zookeeperd [platform:dpkg]
zookeeper [platform:fedora]

8
tools/test-setup.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash -xe
# This script will be run by OpenStack CI before unit tests are run,
# it sets up the test system as needed.
# Developers should setup their test systems in a similar way.
# Be sure zookeeper is started.
sudo service zookeeper start