Add more timeouts
This commit is contained in:
parent
62e5cefbce
commit
8d6c33a8c3
1 changed files with 4 additions and 4 deletions
|
|
@ -116,15 +116,15 @@ ENV USER root
|
||||||
ENV MIMIC_DIR /tmp/mycroft/cache/tts/Mimic3TTSPlugin
|
ENV MIMIC_DIR /tmp/mycroft/cache/tts/Mimic3TTSPlugin
|
||||||
|
|
||||||
# Start relevant services:
|
# Start relevant services:
|
||||||
# 1. Start message bus, wait for ready message in log
|
# 1. Start message bus, wait for ready message in log (1 min timeout)
|
||||||
# 2. Start audio service, wait for ready message in log
|
# 2. Start audio service, wait for ready message in log (1 min timeout)
|
||||||
# 3. Run mycroft-speak with sample text
|
# 3. Run mycroft-speak with sample text
|
||||||
# 4. Watch cache directory for a file creation (5 min timeout)
|
# 4. Watch cache directory for a file creation (5 min timeout)
|
||||||
# 5. Copy first WAV file to known location
|
# 5. Copy first WAV file to known location
|
||||||
RUN mycroft-core/bin/mycroft-start bus && \
|
RUN mycroft-core/bin/mycroft-start bus && \
|
||||||
tail -f /var/log/mycroft/bus.log | grep -iq 'message bus service started' && \
|
timeout 60 tail -f /var/log/mycroft/bus.log | grep -iq 'message bus service started' && \
|
||||||
mycroft-core/bin/mycroft-start audio && \
|
mycroft-core/bin/mycroft-start audio && \
|
||||||
tail -f /var/log/mycroft/audio.log | grep -iq 'audio service is ready' && \
|
timeout 60 tail -f /var/log/mycroft/audio.log | grep -iq 'audio service is ready' && \
|
||||||
xargs -a tests/apope_sample.txt mycroft-core/bin/mycroft-speak && \
|
xargs -a tests/apope_sample.txt mycroft-core/bin/mycroft-speak && \
|
||||||
mkdir -p "${MIMIC_DIR}" && \
|
mkdir -p "${MIMIC_DIR}" && \
|
||||||
for i in $(seq 1 300); do \
|
for i in $(seq 1 300); do \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue