diff Stocks/Stocks.Service.Tests.Unit/StockServiceTests.cs @ 4:57f20ba55884

Fix for webClientShim to use downloadString instead of downloadData Refactoring and introduction of static TimedDelegates.Execute() helper method
author stevenh7776 stevenhollidge@hotmail.com
date Mon, 20 Feb 2012 23:04:58 +0700
parents 29ed98d659e9
children c812bca7b1ac
line wrap: on
line diff
--- a/Stocks/Stocks.Service.Tests.Unit/StockServiceTests.cs	Mon Feb 20 22:29:44 2012 +0700
+++ b/Stocks/Stocks.Service.Tests.Unit/StockServiceTests.cs	Mon Feb 20 23:04:58 2012 +0700
@@ -30,7 +30,7 @@
           service.Start();
           Assert.Equal(true, service.IsActive);
       
-          using (var task2 = Task.Factory.StartNew(() => Thread.Sleep(500)))
+          using (var task2 = Task.Factory.StartNew(() => Thread.Sleep(50)))
             { task2.Wait(); }
           service.Stop();
           Assert.Equal(false, service.IsActive);