From da45118b69ead0ca2f3cb6d8869374e31b15d404 Mon Sep 17 00:00:00 2001 From: Suyeon Hwang Date: Tue, 20 Sep 2022 16:19:26 +0900 Subject: [PATCH] [TTS][Non-ACR] Reduce check rate for service state change Change-Id: Ic69a61e2bea9282d8ee20aaf99b45a9872f2d4cf Signed-off-by: Suyeon Hwang --- tct-suite-vs/Tizen.Tts.Tests/support/TtsWrapper.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tct-suite-vs/Tizen.Tts.Tests/support/TtsWrapper.cs b/tct-suite-vs/Tizen.Tts.Tests/support/TtsWrapper.cs index 4c7810a..ac72c0d 100755 --- a/tct-suite-vs/Tizen.Tts.Tests/support/TtsWrapper.cs +++ b/tct-suite-vs/Tizen.Tts.Tests/support/TtsWrapper.cs @@ -70,6 +70,8 @@ namespace Tizen.Uix.Tts.Tests internal async Task WaitServiceStateFlag(int times) { int count = 0; + int timeout = times * 100; + while (true) { count++; @@ -79,13 +81,13 @@ namespace Tizen.Uix.Tts.Tests break; } - if (count == times * 10) + if (count == timeout) { TtsHelper.PrintLog(Type.DLogAndlogUtil, "count " + count + " expired"); break; } - await Task.Delay(100); + await Task.Delay(10); } } -- 2.7.4