fixed random dbbenchmark test breaking

This commit is contained in:
kay.one 2011-06-01 20:44:32 -07:00
parent 3665856d79
commit 72f8a7eab1
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ namespace NzbDrone.Core.Test
for (int i = 5000; i < 5000 + 1000; i++)
{
count++;
var file = repo.Single<Episode>(random.Next(0, COUNT)).EpisodeFile;
var file = repo.Single<Episode>(random.Next(10, COUNT - 100)).EpisodeFile;
}