1
2
Fork
You've already forked auto-encrypt
3

Random unit test failure with what looks like matches expected and actual values #17

Closed
opened 2025年12月17日 16:37:05 +01:00 by aral · 0 comments
Owner
Copy link

When running npm test (Pebble tests):

✖ FAIL: certificate is renewed correctly when necessary
 operator: notEqual
 expected: 117646477054221272n
 actual : 117646477054221272n
 Error: certificate is renewed correctly when necessary
 at Test.assert [as _assert] (/Users/aral/Projects/other/auto-encrypt/node_modules/tape/lib/test.js:304:54)
 at Test.bound [as _assert] (/Users/aral/Projects/other/auto-encrypt/node_modules/tape/lib/test.js:91:32)
 at Test.notStrictEqual (/Users/aral/Projects/other/auto-encrypt/node_modules/tape/lib/test.js:488:10)
 at Test.bound [as notStrictEquals] (/Users/aral/Projects/other/auto-encrypt/node_modules/tape/lib/test.js:91:32)
 at Test.<anonymous> (file:///Users/aral/Projects/other/auto-encrypt/test/lib/Certificate.js:114:5)
 at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
...
 operator: notEqual
 expected: 866598743423630402n
 actual : 866598743423630402n
...
When running `npm test` (Pebble tests): ``` ✖ FAIL: certificate is renewed correctly when necessary operator: notEqual expected: 117646477054221272n actual : 117646477054221272n Error: certificate is renewed correctly when necessary at Test.assert [as _assert] (/Users/aral/Projects/other/auto-encrypt/node_modules/tape/lib/test.js:304:54) at Test.bound [as _assert] (/Users/aral/Projects/other/auto-encrypt/node_modules/tape/lib/test.js:91:32) at Test.notStrictEqual (/Users/aral/Projects/other/auto-encrypt/node_modules/tape/lib/test.js:488:10) at Test.bound [as notStrictEquals] (/Users/aral/Projects/other/auto-encrypt/node_modules/tape/lib/test.js:91:32) at Test.<anonymous> (file:///Users/aral/Projects/other/auto-encrypt/test/lib/Certificate.js:114:5) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) ``` ``` ... operator: notEqual expected: 866598743423630402n actual : 866598743423630402n ... ```
Sign in to join this conversation.
No Branch/Tag specified
main
ip-address-support
ari-fix
jose-1.28.2-to-6.1.3-upgrade
ARI
2.x
5.1.0
5.0.1
5.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
small-tech/auto-encrypt#17
Reference in a new issue
small-tech/auto-encrypt
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?