Skip to content

Commit

Permalink
SD-1895 Fix WebUI tests of JIT 2.0 (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosternl authored Feb 4, 2025
1 parent c8bd38b commit a4ecc89
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ static void flushTimestamps(JsonNodeMap persistentMap) {
// Save the response for generating GET requests. Add it to the list of timestamps.
static void storeTimestamp(JsonNodeMap persistentMap, JitTimestamp timestamp) {
ArrayNode timestamps = (ArrayNode) persistentMap.load(JitGetType.TIMESTAMPS.name());
if (timestamps == null) timestamps = OBJECT_MAPPER.createArrayNode();
ObjectNode timestampNode = timestamp.toJson();
timestampNode.remove(JitProvider.IS_FYI);
timestamps.add(timestampNode);
Expand Down

0 comments on commit a4ecc89

Please sign in to comment.