follow browsertime

This commit is contained in:
soulgalore 2018-12-30 16:50:44 +01:00
parent a1b60b8f1b
commit 54908dbdcc
1 changed files with 0 additions and 12 deletions

View File

@ -28,18 +28,6 @@ fi
# Here's a hack for fixing the problem with Chrome not starting in time
# See https://github.com/SeleniumHQ/docker-selenium/issues/87#issuecomment-250475864
function chromeSetup() {
# In Browsertime 3.0 we can kill the Chrome process hard and skip most of this
# Kill process by command
function killProcessByCommand() {
list=$(ps aux | grep ${1} | awk '{ print $2 }' ORS=' ')
if [ "${list}" != "" ]; then
killall ${1} > /dev/null 2>/dev/null
fi
}
service dbus stop > /dev/null
killProcessByCommand /usr/bin/dbus-daemon
killProcessByCommand /usr/lib/at-spi2-core/at-spi-bus-launcher
sudo rm -f /var/lib/dbus/machine-id
sudo mkdir -p /var/run/dbus
sudo service dbus restart > /dev/null