39 lines
1.8 KiB
Plaintext
39 lines
1.8 KiB
Plaintext
✔ an old privileged add with no gate owner still replays through loadDoc, and gets jason (4.982127ms)
|
||
✔ a non-privileged add gets jason through the replay path and can't name a gate owner (1.631153ms)
|
||
✔ the CLI refuses a privileged add without --gate-owner, for jason and sage, and writes nothing (176.95643ms)
|
||
✔ the CLI add with --gate-owner carries the named owner and records a log entry (144.322128ms)
|
||
✔ the CLI add by a non-privileged seat gets jason and can't name a gate owner (183.776289ms)
|
||
✖ a retried sage add recorded with no gate owner answers (already recorded at rev N) and writes nothing (127.177591ms)
|
||
ℹ tests 6
|
||
ℹ suites 0
|
||
ℹ pass 5
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 691.866887
|
||
|
||
✖ failing tests:
|
||
|
||
test at packages/queue/tests/gate-owner.test.mjs:123:1
|
||
✖ a retried sage add recorded with no gate owner answers (already recorded at rev N) and writes nothing (127.177591ms)
|
||
AssertionError [ERR_ASSERTION]: queue: sage must pass --gate-owner SEAT on add: a privileged add has no default gate owner, so a row never gets a gate nobody meant
|
||
|
||
|
||
2 !== 0
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q107/packages/queue/tests/gate-owner.test.mjs:142:10)
|
||
at Test.runInAsyncScope (node:async_hooks:226:14)
|
||
at Test.run (node:internal/test_runner/test:1402:25)
|
||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||
at Test.postRun (node:internal/test_runner/test:1542:19)
|
||
at Test.run (node:internal/test_runner/test:1467:12)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: false,
|
||
code: 'ERR_ASSERTION',
|
||
actual: 2,
|
||
expected: 0,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|