Commits

Jordan Earls committed 9fe05d1

Made sure that it was testing probably every scenario

Comments (0)

Files changed (1)

CacheGen.Tests/GeneratedCodeTests.cs

 			{
 				try
 				{
-					lock(Cacher) //lock here because I'm sure .Clear isn't thread safe
-					{
-						Cacher.Reset();
-					}
-					lock(TestCache.testdictionary)
-					{
-						TestCache.testdictionary.Clear();
-					}
+					Cacher.Reset();
+					Thread.Sleep(10);
+					TestCache.testdictionary.Clear();
+					Thread.Sleep(10);
+					TestCache.testdictionary.Remove(20);
 					Thread.Sleep(10);
 				}
 				catch(Exception e)