Skip to content

Commit

Permalink
Merge pull request #2992 from MycroftAI/bugfix/ci-pulse-failing
Browse files Browse the repository at this point in the history
Fix pulseaudio daemon failing to start in CI
  • Loading branch information
krisgesling committed Sep 10, 2021
2 parents 31b2979 + 59c473c commit aa4a25f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integrationtests/voight_kampff/run_test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

# Start pulseaudio if running in CI environment
if [[ -v CI ]]; then
# Ensure pulseaudio is stateless on start up
# This stops the daemon from randomly failing on startup
# See https://superuser.com/a/1545361 for more info
rm -rf /root/.config/pulse
pulseaudio -D
fi
# Start all mycroft core services.
Expand Down

0 comments on commit aa4a25f

Please sign in to comment.