Merge pull request #2937 from MycroftAI/bugfix/vk-race-condition

Fix VK race condition in MycroftSkill.get_response()
pull/2940/head
Chris Veilleux 2021-07-02 15:03:03 -05:00 committed by GitHub
commit 80f9eb053c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -235,8 +235,8 @@ def then_contains(context, text):
@then('the user replies "{text}"')
@then('the user says "{text}"')
def then_user_follow_up(context, text):
time.sleep(2)
wait_while_speaking()
time.sleep(2)
context.bus.emit(Message('recognizer_loop:utterance',
data={'utterances': [text],
'lang': context.lang,