Skip to content

Commit

Permalink
Increase timeout value to avoid timeout failure (#5021)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Stannard <aaron@petabridge.com>
  • Loading branch information
Arkatufus and Aaronontheweb authored May 18, 2021
1 parent 3f6182c commit 0869e49
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/core/Akka.Streams.Tests/Dsl/KeepAliveConcatSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@
using Akka.Streams.TestKit.Tests;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;

namespace Akka.Streams.Tests.Dsl
{
public class KeepAliveConcatSpec : Akka.TestKit.Xunit2.TestKit
{
public KeepAliveConcatSpec(ITestOutputHelper output)
: base(output: output)
{ }

private readonly Source<IEnumerable<int>, NotUsed> _sampleSource = Source.From(Enumerable.Range(1, 10).Grouped(3));

private IEnumerable<IEnumerable<int>> Expand(IEnumerable<int> lst)
Expand Down Expand Up @@ -52,7 +57,7 @@ public void KeepAliveConcat_should_emit_elements_periodically_after_silent_perio
.Grouped(1000)
.RunWith(Sink.First<IEnumerable<IEnumerable<int>>>(), Sys.Materializer());

t.AwaitResult()
t.AwaitResult(TimeSpan.FromSeconds(6))
.SelectMany(x => x)
.Should().BeEquivalentTo(Enumerable.Range(1, 10), o => o.WithStrictOrdering());
}
Expand Down

0 comments on commit 0869e49

Please sign in to comment.