File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ public void TestsBackingStoreNestedInvocationCounts()
467467
468468 Assert . Equal ( 2 , invocationCount ) ; // only called twice
469469 }
470- private readonly int [ ] _testArray = Enumerable . Range ( 0 , 1000000000 ) . ToArray ( ) ;
470+ private readonly int [ ] _testArray = Enumerable . Range ( 0 , 100000000 ) . ToArray ( ) ;
471471 [ Fact ]
472472 public void TestsLargeArrayPerformsWell ( )
473473 {
@@ -478,12 +478,12 @@ public void TestsLargeArrayPerformsWell()
478478 var stopWatch = Stopwatch . StartNew ( ) ;
479479 testBackingStore . Set ( "email" , _testArray ) ;
480480 stopWatch . Stop ( ) ;
481- Assert . InRange ( stopWatch . ElapsedMilliseconds , 0 , 2 ) ;
481+ Assert . InRange ( stopWatch . ElapsedMilliseconds , 0 , 1 ) ;
482482 stopWatch . Restart ( ) ;
483483 testBackingStore . InitializationCompleted = true ;
484484 stopWatch . Stop ( ) ;
485485 // Assert
486- Assert . InRange ( stopWatch . ElapsedMilliseconds , 0 , 2 ) ;
486+ Assert . InRange ( stopWatch . ElapsedMilliseconds , 0 , 1 ) ;
487487 }
488488
489489 /// <summary>
You can’t perform that action at this time.
0 commit comments