-
Type:
Bug
-
Resolution: Gone away
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Client Side Encryption
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
-
None
On latest, failures have developed on the tests that run only when there's a server to test against:
1) cryptoCallbacks
error testing
should error with a specific kms error when hmacSha256Hook fails:
AssertionError: expected [Function] to throw an error
at Context.<anonymous> (test/cryptoCallbacks.test.js:213:96)
at processImmediate (internal/timers.js:461:21)
2) cryptoCallbacks
error testing
should error with a specific kms error when sha256Hook fails:
AssertionError: expected [Function] to throw an error
at Context.<anonymous> (test/cryptoCallbacks.test.js:213:96)
at processImmediate (internal/timers.js:461:21)
As of March 9 2022, the failures have been fixed, but there's the question of why are callback based APIs throwing synchronously. We should take a look and see if it's reasonable to change or document it for a major version fix.