prepare_vm() {
if [[ `cat /etc/*-release | head -n 1 | awk '{print $1}'` =~ Ubuntu ]]; then
- apt-get install screen python-pip sqlite3 -y
+ apt-get install screen python-pip sqlite3 curl -y
else
- yum install screen python-pip sqlite -y
+ yum install screen python-pip sqlite curl -y
fi
}
check_running ceilometer-collector
check_running ceilometer-agent-notification
send_fake_notification
- sleep 2
+ sleep 10
check_fake_notification
killall -15 ceilometer-collector ceilometer-agent-notification