|
|
@@ -51,10 +51,10 @@ class OppoHotStoreTest {
|
|
|
|
|
|
@Test
|
|
|
@SuppressWarnings({"rawtypes", "unchecked"})
|
|
|
- void impressionCachesAreSmallAndExpireInThreeHoursButStreamKeepsFullEvent() throws Exception {
|
|
|
+ void impressionCachesAreSmallAndExpireInThirtyMinutesButStreamKeepsFullEvent() throws Exception {
|
|
|
OppoBidRecord record = record();
|
|
|
store(Duration.ofHours(36)).recordBid(record);
|
|
|
- JsonNode hot = cachePayload(Duration.ofHours(3));
|
|
|
+ JsonNode hot = cachePayload(Duration.ofMinutes(30));
|
|
|
assertEquals("click-url", hot.get("clickUrls").get(0).asText());
|
|
|
assertEquals("store-url", hot.get("appStoreLink").asText());
|
|
|
assertFalse(hot.has("showUrls"));
|