Skip to content

Comments

Fix/reset timeout for tts.speak#445

Closed
YuriiYefimenko wants to merge 5 commits intosmartdevicelink:release/0.11.0from
LuxoftSDL:fix/reset-timeout-for-TTS.Speak
Closed

Fix/reset timeout for tts.speak#445
YuriiYefimenko wants to merge 5 commits intosmartdevicelink:release/0.11.0from
LuxoftSDL:fix/reset-timeout-for-TTS.Speak

Conversation

@YuriiYefimenko
Copy link
Contributor

@YuriiYefimenko YuriiYefimenko commented Sep 13, 2021

Fixes
#444
#442

Testing Plan

  • I have verified that I have not introduced new warnings in this PR (or explain why below)
  • I have tested this PR against Core and verified behavior (if applicable, if not applicable, explain why below).

Summary

  • fix reset timeout for TTS.Speak request during Alert (and SubtleAlert) RPC processing
  • requestID in BC.OnResetTimeout for TTS.Speak request during processing Speak RPC
Bug Fixes

now HMI sends correct requestID in BC.OnResetTimeout for TTS.Speak request

CLA

@YuriiYefimenko YuriiYefimenko changed the base branch from develop to release/0.11.0 September 14, 2021 10:26
@jordynmackool
Copy link

@YuriiYefimenko is this PR ready for Livio review? If so please advise if these bugs were introduced during the 0.11.0 testing?

@YuriiYefimenko
Copy link
Contributor Author

Hi @theresalech @jordynmackool This is a regression issue (related to OnResetTimeout feature) and PR is ready for Livio team review

Co-authored-by: Collin <iCollin@users.noreply.github.com>
this.playNext();
if(!rpc.params.speakType.includes('ALERT'))
this.timers[rpc.id] = setInterval(this.onResetTimeout, 9000, rpc.params.appID, "TTS.Speak");
this.timers[rpc.id] = setInterval(this.onResetTimeout, 9000, rpc.id);
Copy link
Collaborator

@iCollin iCollin Sep 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this.timers[rpc.id] = setInterval(this.onResetTimeout, 9000, rpc.id);
if(!rpc.params.speakType.includes('ALERT'))
this.timers[rpc.id] = setInterval(this.onResetTimeout, 9000, rpc.id);

#444 (comment)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YuriiYefimenko we have closed #444, can you please make adjustments to ensure onResetTimeout is not sent when the TTS Speak is part of an Alert or AlertManeuver or apply the above suggestion? Thank you!

@iCollin
Copy link
Collaborator

iCollin commented Sep 21, 2021

My apologies but we need to begin regression testing for the upcoming release so I have fixed #442 in #447.

Closing in favor of #447

@iCollin iCollin closed this Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants