run_tests: run dstat before r10k'ing modules
r10k install is randomling taking lot of time ot be installed [1]. This patch executes dstat before installing r10k & puppet modules, so we can see in dstat logs what is consumming CPU & memory during r10k setup. (1] http://goo.gl/XJ9xky) Change-Id: Ie98bede043339b47e9e928e5c964a6ba70090860
This commit is contained in:
parent
01a2dad326
commit
afe975270f
@ -63,15 +63,15 @@ elif is_fedora; then
|
||||
$SUDO yum install -y dstat puppet
|
||||
fi
|
||||
|
||||
if [ "${MANAGE_PUPPET_MODULES}" = true ]; then
|
||||
$SUDO ./install_modules.sh
|
||||
fi
|
||||
|
||||
# use dstat to monitor system activity during integration testing
|
||||
if type "dstat" 2>/dev/null; then
|
||||
$SUDO dstat -tcmndrylpg --top-cpu-adv --top-io-adv --nocolor | $SUDO tee --append /var/log/dstat.log > /dev/null &
|
||||
fi
|
||||
|
||||
if [ "${MANAGE_PUPPET_MODULES}" = true ]; then
|
||||
$SUDO ./install_modules.sh
|
||||
fi
|
||||
|
||||
# Run puppet and assert something changes.
|
||||
set +e
|
||||
if [ "${MANAGE_REPOS}" = true ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user