# HG changeset patch # User timkelly # Date 1284042685 18000 # Node ID a7bfb499d77269921bd26b54395efb6f3021a0fd # Parent 74b4ef013f0ffd743c4db4bc5252f18038e6d19a Add a sleep before testing if sdk cache entry was deleted. Test to figure out why test is failing on one machine only. diff -r 74b4ef013f0f -r a7bfb499d772 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)); }