diff --git a/web/__test__/handlers.js b/web/__test__/handlers.js index c3bf04eb1..23433d840 100644 --- a/web/__test__/handlers.js +++ b/web/__test__/handlers.js @@ -39,10 +39,10 @@ export const handlers = [ return res( ctx.status(200), ctx.json({ - cpu_usages: { 64: { cpu: 5, mem: 5 }, 54: { cpu: 4, mem: 4 }, 71: { cpu: 3, mem: 3}, 60: {cpu: 2, mem: 2} }, + cpu_usages: { 74: {cpu: 6, mem: 6}, 64: { cpu: 5, mem: 5 }, 54: { cpu: 4, mem: 4 }, 71: { cpu: 3, mem: 3}, 60: {cpu: 2, mem: 2}, 72: {cpu: 1, mem: 1} }, detection_fps: 0.0, detectors: { coral: { detection_start: 0.0, inference_speed: 8.94, pid: 52 } }, - front: { camera_fps: 5.0, capture_pid: 64, detection_fps: 0.0, pid: 54, process_fps: 0.0, skipped_fps: 0.0 }, + front: { camera_fps: 5.0, capture_pid: 64, detection_fps: 0.0, pid: 54, process_fps: 0.0, skipped_fps: 0.0, ffmpeg_pid: 72 }, side: { camera_fps: 6.9, capture_pid: 71, @@ -50,6 +50,7 @@ export const handlers = [ pid: 60, process_fps: 0.0, skipped_fps: 0.0, + ffmpeg_pid: 74, }, service: { uptime: 34812, version: '0.8.1-d376f6b' }, })