cacti
cacti copied to clipboard
test(weaver/sdk/node): fix flake - InteroperableHelper cryptographic fn
Description
- On an unrelated PR (e.g. it didn't change anything related to this job) the
unit_test_weaver_node_sdk_localjob failed. - I re-executed it and then it worked fine.
Full Error Logs
2024-06-19T13-16-15-weaver-flaky-unit-tests.log
Error Logs Snippet
2024-06-19T13:17:30.4147489Z 52 passing (11s)
2024-06-19T13:17:30.4148156Z 1 failing
2024-06-19T13:17:30.4148459Z
2024-06-19T13:17:30.4151570Z 1) InteroperableHelper
2024-06-19T13:17:30.4152456Z cryptographic functions
2024-06-19T13:17:30.4153640Z encrypt and decrypt a message with default 128-bit AES key:
2024-06-19T13:17:30.4155558Z AssertionError: expected [Function] to not throw an error but 'AssertionError: expected [Function] t…' was thrown
2024-06-19T13:17:30.4159424Z at Context.<anonymous> (test/InteroperableHelper.js:154:22)
2024-06-19T13:17:30.4160622Z at processImmediate (node:internal/timers:476:21)
2024-06-19T13:17:30.4161562Z
Acceptance Criteria
- Test is consistently passing.
cc: @VRamakrishna @sandeepnRES
@Dozie2001 Yes. The caveat: We don't know how to reproduce this.
Until there is an explicit need for this feature, this issue is closed.