Files

61 lines
2.4 KiB
Plaintext

TAP version 13
# Subtest: R6 a configured peer id validates as a user's home and an unconfigured one refuses
ok 1 - R6 a configured peer id validates as a user's home and an unconfigured one refuses
---
duration_ms: 9.41985
type: 'test'
...
# Subtest: R6 B1 a boot with access.json binds a granted user, whose home is a configured peer
ok 2 - R6 B1 a boot with access.json binds a granted user, whose home is a configured peer
---
duration_ms: 74.90319
type: 'test'
...
# Subtest: R6 B2 a boot without access.json has no access and binds no user
ok 3 - R6 B2 a boot without access.json has no access and binds no user
---
duration_ms: 62.418469
type: 'test'
...
# Subtest: R6 B3 a boot with a file R1's loader refuses still boots, binds no user and says so once
not ok 4 - R6 B3 a boot with a file R1's loader refuses still boots, binds no user and says so once
---
duration_ms: 65.709307
type: 'test'
location: '/mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/access-boot.test.mjs:85:1'
failureType: 'testCodeFailure'
error: |-
not JSON
+ actual - expected
[
'business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs',
- 'access file refused at boot (access-invalid), no granted user binds until it is fixed: /mnt/storage/scratch/tmp/gd3JQ8r/mosaic-access-boot-UPOnK2/config/access.json'
]
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected:
0: 'business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs'
1: 'access file refused at boot (access-invalid), no granted user binds until it is fixed: /mnt/storage/scratch/tmp/gd3JQ8r/mosaic-access-boot-UPOnK2/config/access.json'
actual:
0: 'business acme sets tracker.baseUrl, but no project file sets tracker.project; the broker gets no task verbs'
operator: 'deepStrictEqual'
stack: |-
TestContext.<anonymous> (file:///mnt/storage/scratch/launchpad-r294/wt/packages/cli/tests/access-boot.test.mjs:94:12)
process.processTicksAndRejections (node:internal/process/task_queues:104:5)
async Test.run (node:internal/test_runner/test:1409:7)
async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
...
1..4
# tests 4
# suites 0
# pass 3
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 328.382551
# stderr