@@ -256,14 +256,20 @@ public void testACreateWLSImgUsingWDT() throws Exception {
256
256
logTestBegin (testMethodName );
257
257
258
258
// add WDT installer to the cache
259
+ // delete the cache entry first
260
+ deleteEntryFromCache ("wdt_" + WDT_VERSION );
259
261
String wdtPath = getInstallerCacheDir () + FS + WDT_INSTALLER ;
260
262
addInstallerToCache ("wdt" , WDT_VERSION , wdtPath );
261
263
262
264
// add WLS installer to the cache
265
+ // delete the cache entry first
266
+ deleteEntryFromCache ("wls_" + WLS_VERSION );
263
267
String wlsPath = getInstallerCacheDir () + FS + WLS_INSTALLER ;
264
268
addInstallerToCache ("wls" , WLS_VERSION , wlsPath );
265
269
266
270
// add jdk installer to the cache
271
+ // delete the cache entry first
272
+ deleteEntryFromCache ("jdk_" + JDK_VERSION );
267
273
String jdkPath = getInstallerCacheDir () + FS + JDK_INSTALLER ;
268
274
addInstallerToCache ("jdk" , JDK_VERSION , jdkPath );
269
275
@@ -323,10 +329,14 @@ public void testBCreateFMWImgFullInternetAccess() throws Exception {
323
329
}
324
330
325
331
// add fmw installer to the cache
332
+ // delete the cache entry if any
333
+ deleteEntryFromCache ("fmw_" + WLS_VERSION );
326
334
String fmwPath = getInstallerCacheDir () + FS + FMW_INSTALLER ;
327
335
addInstallerToCache ("fmw" , WLS_VERSION , fmwPath );
328
336
329
337
// add jdk installer to the cache
338
+ // delete the cache entry if any
339
+ deleteEntryFromCache ("jdk_" + JDK_VERSION );
330
340
String jdkPath = getInstallerCacheDir () + FS + JDK_INSTALLER ;
331
341
addInstallerToCache ("jdk" , JDK_VERSION , jdkPath );
332
342
@@ -394,14 +404,20 @@ public void testDCreateJRFDomainImgUsingWDT() throws Exception {
394
404
createDBContainer ();
395
405
396
406
// add WDT installer to the cache
407
+ // delete the cache entry if any
408
+ deleteEntryFromCache ("wdt_" + WDT_VERSION );
397
409
String wdtPath = getInstallerCacheDir () + FS + WDT_INSTALLER ;
398
410
addInstallerToCache ("wdt" , WDT_VERSION , wdtPath );
399
411
400
412
// add FMW installer to the cache
413
+ // delete the cache entry if any
414
+ deleteEntryFromCache ("fmw_" + WLS_VERSION );
401
415
String fmwPath = getInstallerCacheDir () + FS + FMW_INSTALLER ;
402
416
addInstallerToCache ("fmw" , WLS_VERSION , fmwPath );
403
417
404
418
// add jdk installer to the cache
419
+ // delete the cache entry if any
420
+ deleteEntryFromCache ("jdk_" + JDK_VERSION );
405
421
String jdkPath = getInstallerCacheDir () + FS + JDK_INSTALLER ;
406
422
addInstallerToCache ("jdk" , JDK_VERSION , jdkPath );
407
423
0 commit comments