Commit 2aa16dd
authored
Disable ttl based tests in ClientMapTest suite for near cache client [HZ-5308] [HZ-5310] (#1388)
Disabled ttl based tests for near cache based test cases due to an issue
at server side hazelcast/hazelcast#10975
Fixed ClientMapTest.testPutIfAbsentTtl so that it is in sync with Java
test
https://github.com/hazelcast/hazelcast-mono/blob/aad45696a4bb784c6a538e22d26f183973ace9c4/hazelcast/hazelcast/src/test/java/com/hazelcast/client/map/ClientMapTest.java#L542.
The problem was that we dependent on timing on the entry expiry and 1
second may not be enough in busy times. Hence, it is changed to 10
seconds. We also re-put the entry with 10 seconds ttl in the send put
also to avoid expiry when we checked the value in the next step.
opened #1390 so that we do not forget to re-open these tests.
fixes #1145
fixes #11811 parent cbca3fe commit 2aa16dd
1 file changed
+45
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1172 | 1172 | | |
1173 | 1173 | | |
1174 | 1174 | | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
1175 | 1182 | | |
1176 | 1183 | | |
1177 | 1184 | | |
| |||
1182 | 1189 | | |
1183 | 1190 | | |
1184 | 1191 | | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
1185 | 1199 | | |
1186 | 1200 | | |
1187 | 1201 | | |
| |||
1201 | 1215 | | |
1202 | 1216 | | |
1203 | 1217 | | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
1204 | 1225 | | |
1205 | 1226 | | |
1206 | | - | |
| 1227 | + | |
1207 | 1228 | | |
1208 | 1229 | | |
1209 | 1230 | | |
| |||
1213 | 1234 | | |
1214 | 1235 | | |
1215 | 1236 | | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
1220 | | - | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
1221 | 1246 | | |
1222 | 1247 | | |
1223 | 1248 | | |
| |||
1239 | 1264 | | |
1240 | 1265 | | |
1241 | 1266 | | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
1242 | 1274 | | |
1243 | 1275 | | |
1244 | 1276 | | |
1245 | 1277 | | |
1246 | 1278 | | |
1247 | 1279 | | |
1248 | 1280 | | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
1249 | 1288 | | |
1250 | 1289 | | |
1251 | 1290 | | |
| |||
0 commit comments