Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Fix pulseaudio daemon failing to start in CI #2992

Merged
merged 1 commit into from
Sep 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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