cacti icon indicating copy to clipboard operation
cacti copied to clipboard

test(weaver/sdk/node): fix flake - InteroperableHelper cryptographic fn

Open petermetz opened this issue 1 year ago • 1 comments

Description

  1. On an unrelated PR (e.g. it didn't change anything related to this job) the unit_test_weaver_node_sdk_local job failed.
  2. 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

  1. Test is consistently passing.

cc: @VRamakrishna @sandeepnRES

petermetz avatar Jun 19 '24 13:06 petermetz

@Dozie2001 Yes. The caveat: We don't know how to reproduce this.

petermetz avatar Jul 09 '24 02:07 petermetz

Until there is an explicit need for this feature, this issue is closed.

RafaelAPB avatar Oct 18 '25 17:10 RafaelAPB