Add a sleep before testing if sdk cache entry was deleted. Test to figure out why test is failing on one machine only.
authortimkelly
Thu, 09 Sep 2010 09:31:25 -0500
changeset 1973 a7bfb499d772
parent 1972 74b4ef013f0f
child 1974 71a660e8393e
Add a sleep before testing if sdk cache entry was deleted. Test to figure out why test is failing on one machine only.
core/com.nokia.carbide.cpp.sdk.core.test/src/com/nokia/carbide/cpp/sdk/core/test/TestCarbideSDKCache.java
--- a/core/com.nokia.carbide.cpp.sdk.core.test/src/com/nokia/carbide/cpp/sdk/core/test/TestCarbideSDKCache.java	Thu Sep 09 09:30:28 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.core.test/src/com/nokia/carbide/cpp/sdk/core/test/TestCarbideSDKCache.java	Thu Sep 09 09:31:25 2010 -0500
@@ -112,6 +112,7 @@
 		assertFalse(manager.getCache().isEmpty());
 		assertNotNull(manager.getCacheEntry(sdkId));
 		manager.removeSDK(sdkId);
+		Thread.sleep(5000);  // Testing. This test fails on one test machine but not another. Put in a sleep, guess there may be some timing issue with the cache
 		assertNull(manager.getCacheEntry(sdkId));
 	}