Skip to content

Commit 6e12c07

Browse files
committed
Bug 38000313 - Build: intermittent failure in ReadWriteBackingMapTests.testCacheStoreExpireOnPutAllWithWriteBehind (14.1.2.0 cl 116984 --> 14.1.1.2206)
RQ: job.9.20250621062202.27117 #nobug80 (auto-submit integ 116993 release/coherence-v14.1.1.2206 -> coherence-ce/release/coherence-ce-v22.06 after successfully running remote remote.full) Job ID: job.9.20250623144719.5590 [git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v22.06/": change = 116999]
1 parent 14ab12d commit 6e12c07

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

prj/test/functional/rwbm/src/main/java/rwbm/ReadWriteBackingMapTests.java

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
2+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates.
33
*
44
* Licensed under the Universal Permissive License v 1.0 as shown at
55
* https://oss.oracle.com/licenses/upl.
@@ -2114,7 +2114,7 @@ public void testGetAllEmptyCache()
21142114
@Test
21152115
public void testCacheStoreExpireOnPutWithWriteThrough()
21162116
{
2117-
testCacheStoreExpire("dist-rwbm-wt-bin", 1000, false);
2117+
testCacheStoreExpire("dist-rwbm-wt-bin", EXPIRY_MILLIS, false);
21182118
}
21192119

21202120
/**
@@ -2123,7 +2123,7 @@ public void testCacheStoreExpireOnPutWithWriteThrough()
21232123
@Test
21242124
public void testCacheStoreExpireOnPutAllWithWriteThrough()
21252125
{
2126-
testCacheStoreExpire("dist-rwbm-wt-bin", 1000, true);
2126+
testCacheStoreExpire("dist-rwbm-wt-bin", EXPIRY_MILLIS, true);
21272127
}
21282128

21292129
/**
@@ -2132,8 +2132,8 @@ public void testCacheStoreExpireOnPutAllWithWriteThrough()
21322132
@Test
21332133
public void testCacheStoreExpireOnPutWithWriteBehind()
21342134
{
2135-
testCacheStoreExpire("dist-rwbm-wb-bin", 1000, false);
2136-
testCacheStoreExpire("dist-rwbm-wb-bin-remove", 1000, false);
2135+
testCacheStoreExpire("dist-rwbm-wb-bin", EXPIRY_MILLIS, false);
2136+
testCacheStoreExpire("dist-rwbm-wb-bin-remove", EXPIRY_MILLIS, false);
21372137
}
21382138

21392139
/**
@@ -2142,8 +2142,8 @@ public void testCacheStoreExpireOnPutWithWriteBehind()
21422142
@Test
21432143
public void testCacheStoreExpireOnPutAllWithWriteBehind()
21442144
{
2145-
testCacheStoreExpire("dist-rwbm-wb-bin", 1000, true);
2146-
testCacheStoreExpire("dist-rwbm-wb-bin-remove", 1000, true);
2145+
testCacheStoreExpire("dist-rwbm-wb-bin", EXPIRY_MILLIS, true);
2146+
testCacheStoreExpire("dist-rwbm-wb-bin-remove", EXPIRY_MILLIS, true);
21472147
}
21482148

21492149
private void testCacheStoreExpire(String sCacheName, long cExpiryMillis, boolean fUsePutAll)
@@ -2753,8 +2753,8 @@ public void testConfigWbRemove()
27532753
@Test
27542754
public void testExpiringProcessor()
27552755
{
2756-
testExpiringProcessor("dist-rwbm-wt-bin", 1000);
2757-
testExpiringProcessor("dist-rwbm-wb-bin", 1000);
2756+
testExpiringProcessor("dist-rwbm-wt-bin", EXPIRY_MILLIS);
2757+
testExpiringProcessor("dist-rwbm-wb-bin", EXPIRY_MILLIS);
27582758
}
27592759

27602760
private void testExpiringProcessor(String sCacheName, long cExpiry)
@@ -4093,6 +4093,11 @@ public static void main(String[] asArg)
40934093
*/
40944094
public static String FILE_CFG_CACHE = "rwbm-cache-config.xml";
40954095

4096+
/**
4097+
* The default expiry time.
4098+
*/
4099+
public static final int EXPIRY_MILLIS = 2000;
4100+
40964101
// ----- data members ---------------------------------------------------
40974102

40984103
/**

0 commit comments

Comments
 (0)