Logo
Explore Get Started
openstack/oslo.messaging
Code Issues Proposed changes
61aae0ffac
BranchesTags
View all branches
oslo.messaging/tools/functions.sh

20 lines
354 B
Bash
Raw Normal View History

Don't use devstack to setup our functional env This adds a setup script for each tox functional target to start a rabbitmq-server, qpidd or redis daemon dedicated for the functional testing. This script is responsible to spawn a preconfigured daemon needed for the functional tests. This also changes the gate script to just install the required packages instead of setup a devstack. This also fixes the zmq config options loading in tests Closes-bug: #1442612 Change-Id: I27eb2c1d3d0ca67aa361c83e41372138e03d9bdd
2015-06-10 10:00:09 +00:00
wait_for_line () {
while read line
do
echo "$line" | grep -q "$1" && break
echo "$line" | grep "$2" && exit 1
done < "$3"
# Read the fifo for ever otherwise process would block
cat "$3" >/dev/null &
}
function clean_exit(){
local error_code="$?"
kill -9 $(jobs -p)
rm -rf "$1"
return $error_code
}
Copy Permalink
Powered by Gitea Version: v1.23.8 Page: 60ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API