diff --git a/tests/FinalFactory.Rendezvous.Tests/Client/RendezvousClientIntegrationTests.cs b/tests/FinalFactory.Rendezvous.Tests/Client/RendezvousClientIntegrationTests.cs index 87515f7..61c7e6c 100644 --- a/tests/FinalFactory.Rendezvous.Tests/Client/RendezvousClientIntegrationTests.cs +++ b/tests/FinalFactory.Rendezvous.Tests/Client/RendezvousClientIntegrationTests.cs @@ -147,7 +147,12 @@ public sealed class RendezvousClientIntegrationTests { await using ClientTestHost host = await ClientTestHost.StartAsync(); RendezvousPublisherClient publisher = new(host.HttpClient); - RendezvousSessionBrowserClient browser = new(host.HttpClient); + RendezvousSessionBrowserClient browser = new( + host.HttpClient, + new RendezvousClientOptions + { + RequestTimeout = TimeSpan.FromSeconds(15), + }); PublishedSession session = AssertSuccess(await publisher.RegisterAsync( CreateRegistration(200), host.PublisherCredential)); @@ -156,7 +161,7 @@ public sealed class RendezvousClientIntegrationTests BrowseSessionsResponse snapshot = AssertSuccess(await browser.BrowseAsync(request)); Assert.False(string.IsNullOrWhiteSpace(snapshot.StreamCursor)); - using CancellationTokenSource timeout = new(TimeSpan.FromSeconds(10)); + using CancellationTokenSource timeout = new(TimeSpan.FromSeconds(30)); await using (IAsyncEnumerator> invalid = browser .StreamAsync(request, CorruptCursor(snapshot.StreamCursor), timeout.Token) .GetAsyncEnumerator(timeout.Token))