Skip to content

Commit

Permalink
speaktest: increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
helto4real committed Sep 13, 2020
1 parent deb5824 commit 32d2be3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/NetDaemon.Daemon.Tests/Daemon/NetDaemonHostTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public async Task SpeakShouldWaitUntilMediaPlays()
// ARRANGE

// Get a running default Daemon
var (daemonTask, _) = ReturnRunningDefauldDaemonHostTask(500);
var (daemonTask, _) = ReturnRunningDefauldDaemonHostTask(700);

await WaitForDefaultDaemonToConnect(DefaultDaemonHost, CancellationToken.None);

Expand Down Expand Up @@ -263,7 +263,7 @@ public async Task SpeakShouldWaitUntilMediaPlays()

DefaultHassClientMock.Verify(n => n.CallService("tts", "google_cloud_say", expectedAttributesExpObject, true), Times.Once);

await Task.Delay(100);
await Task.Delay(150);
// Called twice
DefaultHassClientMock.Verify(n => n.CallService("tts", "google_cloud_say", expectedAttributesExpObject, true), Times.Exactly(2));

Expand Down

0 comments on commit 32d2be3

Please sign in to comment.