Files

125 lines
4.9 KiB
Plaintext

TAP version 13
# Subtest: web.search: a granted role gets labelled results, and the call is trailed with role, run, verb and query
ok 1 - web.search: a granted role gets labelled results, and the call is trailed with role, run, verb and query
---
duration_ms: 29.492133
type: 'test'
...
# Subtest: web.fetch: a granted role gets the page as labelled text, and the call is trailed with the url
ok 2 - web.fetch: a granted role gets the page as labelled text, and the call is trailed with the url
---
duration_ms: 19.866309
type: 'test'
...
# Subtest: a role without the grant is refused, the refusal is logged with the verb, and nothing is fetched
ok 3 - a role without the grant is refused, the refusal is logged with the verb, and nothing is fetched
---
duration_ms: 18.647297
type: 'test'
...
# Subtest: a broker with no web service refuses a granted role
ok 4 - a broker with no web service refuses a granted role
---
duration_ms: 13.504609
type: 'test'
...
# Subtest: bad requests are refused: unknown verb, extra or missing argument, not a string, a human or reader session
ok 5 - bad requests are refused: unknown verb, extra or missing argument, not a string, a human or reader session
---
duration_ms: 17.584128
type: 'test'
...
# Subtest: a session that is not the role holder is refused
ok 6 - a session that is not the role holder is refused
---
duration_ms: 11.156727
type: 'test'
...
# Subtest: web.mjs's fences hold on the broker side: refusals are normal results with the fixed reason
ok 7 - web.mjs's fences hold on the broker side: refusals are normal results with the fixed reason
---
duration_ms: 38.446407
type: 'test'
...
# Subtest: web.search with no search source configured is a refused result, not an error
ok 8 - web.search with no search source configured is a refused result, not an error
---
duration_ms: 14.330598
type: 'test'
...
# Subtest: a search source that fails with its own refusal, or that throws, is handled
ok 9 - a search source that fails with its own refusal, or that throws, is handled
---
duration_ms: 19.282117
type: 'test'
...
# Subtest: a slow search source ends in a refusal at the deadline
ok 10 - a slow search source ends in a refusal at the deadline
---
duration_ms: 65.11867
type: 'test'
...
# Subtest: a secret in the arguments is refused before anything is trailed or fetched
ok 11 - a secret in the arguments is refused before anything is trailed or fetched
---
duration_ms: 13.315443
type: 'test'
...
# Subtest: over the socket: the server routes web verbs to the service; other roles are refused; no service is web-not-configured
ok 12 - over the socket: the server routes web verbs to the service; other roles are refused; no service is web-not-configured
---
duration_ms: 66.848041
type: 'test'
...
# Subtest: busBusiness: the web grant comes from "web" in the resolved tool limit
ok 13 - busBusiness: the web grant comes from "web" in the resolved tool limit
---
duration_ms: 0.251761
type: 'test'
...
# Subtest: webServices: the business's search-source plug-in and web.searxng var make web.search work; without either it is refused as not configured
ok 14 - webServices: the business's search-source plug-in and web.searxng var make web.search work; without either it is refused as not configured
---
duration_ms: 44.852308
type: 'test'
...
# Subtest: an ungranted call is refused at once: no admission, no wait, nothing touched
ok 15 - an ungranted call is refused at once: no admission, no wait, nothing touched
---
duration_ms: 18.888999
type: 'test'
...
# Subtest: over the socket an ungranted caller is dropped by the server timeout and a granted one gets the longer wait
ok 16 - over the socket an ungranted caller is dropped by the server timeout and a granted one gets the longer wait
---
duration_ms: 346.722398
type: 'test'
...
# Subtest: a search that never answers is aborted at the deadline, the module sees the signal, and the call is trailed as refused (timeout)
ok 17 - a search that never answers is aborted at the deadline, the module sees the signal, and the call is trailed as refused (timeout)
---
duration_ms: 75.618227
type: 'test'
...
# Subtest: a fetch that stalls is cut off at the deadline: the request is destroyed, not left running
ok 18 - a fetch that stalls is cut off at the deadline: the request is destroyed, not left running
---
duration_ms: 96.163601
type: 'test'
...
# Subtest: one query limit: over SEARCH_MAX_QUERY_CHARS or empty is refused with the same reason before any backend, and the tool schema carries the same number
ok 19 - one query limit: over SEARCH_MAX_QUERY_CHARS or empty is refused with the same reason before any backend, and the tool schema carries the same number
---
duration_ms: 18.083939
type: 'test'
...
1..19
# tests 19
# suites 0
# pass 19
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 1028.644089