Skip to content

Commit

Permalink
harden HubSpec duration (#6030)
Browse files Browse the repository at this point in the history
Needed to boost time to process 20,000 elements with buffer size =1 from 3 cumulative seconds to 300. On low quality AzDo machines there's no telling what delays we'll hit.
  • Loading branch information
Aaronontheweb committed Jul 6, 2022
1 parent 0c9677f commit a626bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Akka.Streams.Tests/Dsl/HubSpec.cs
Expand Up @@ -191,7 +191,7 @@ public async Task MergeHub_must_work_with_long_streams_when_buffer_size_is_1()
Source.From(Enumerable.Range(10001, 10000)).RunWith(sink, Materializer);
await probe.RequestAsync(int.MaxValue);
var result = await probe.ExpectNextNAsync(20000, 3.Seconds()).ToListAsync();
var result = await probe.ExpectNextNAsync(20000, 300.Seconds()).ToListAsync();
result.OrderBy(x => x).Should().BeEquivalentTo(Enumerable.Range(1, 20000));
}, Materializer);
}
Expand Down

0 comments on commit a626bd9

Please sign in to comment.