Files
mtusi2026lab7/evidence/openobserve/reader-red.txt

25 lines
1.3 KiB
Plaintext

Running as unit: run-p678964-i25811541.scope; invocation ID: 1d5617b7773c42d4ac1bbd69db1c6a91
bun test v1.4.4 (38afee6c8)
student-tests/openobserve-reader.test.ts:
11 | !Number.isSafeInteger(end_time) ||
12 | start_time <= 0 ||
13 | end_time <= start_time ||
14 | end_time - start_time > 3600000000
15 | )
16 | throw new Error("INVALID_OPENOBSERVE_SEARCH_WINDOW");
^
error: INVALID_OPENOBSERVE_SEARCH_WINDOW
at nativeSearchWindow (/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/scripts/openobserve-search-window.ts:16:15)
at search (/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/student-tests/openobserve-signals.ts:31:12)
at <anonymous> (/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/student-tests/openobserve-signals.ts:36:24)
at async <anonymous> (/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/student-tests/openobserve-reader.test.ts:19:8)
(fail) reader produces fixed historical SQL end and the same PromQL time after three hours [1.26ms]
(pass) fresh reader default uses the explicit clock for both native request forms [0.79ms]
(pass) reader requires explicit native request and clock ports [0.09ms]
2 pass
1 fail
3 expect() calls
Ran 3 tests across 1 file. [18.00ms]