Skip to content

Commit 9d00a90

Browse files
committed
Make timing more lenient.
1 parent d288ba4 commit 9d00a90

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

test/Compze.Tests.Integration/CQRS/TeventStoreUpdaterTest.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -421,15 +421,15 @@ public void Concurrent_read_only_access_to_taggregate_history_can_occur_in_paral
421421
using var runner = new TestingTaskRunner(5.Seconds());
422422
runner.Run(ReadUserHistory, ReadUserHistory);
423423

424-
readGate.TryAwaitQueueLengthEqualTo(2, WaitTimeout.Milliseconds(100)).Must().BeTrue();
424+
readGate.TryAwaitQueueLengthEqualTo(2).Must().BeTrue();
425425
readGate.Open();
426+
return;
426427

427-
void ReadUserHistory() =>
428-
UseInTransactionalScope(session =>
429-
{
430-
((ITeventStoreReader)session).GetHistory(user.Id);
431-
readGate.AwaitPassThrough();
432-
});
428+
void ReadUserHistory() => UseInTransactionalScope(session =>
429+
{
430+
((ITeventStoreReader)session).GetHistory(user.Id);
431+
readGate.AwaitPassThrough();
432+
});
433433
}
434434

435435
[PCT]

0 commit comments

Comments
 (0)