-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INT-3404 - Add tests to validate behavior of
jobState.hasKey
The Qualys integration was using `await`ing the result of `jobState.hasKey` and firing off multiple promises with [`pQueue`](https://github.com/sindresorhus/p-queue). The Qualys integration was occasionally seeing `DUPLICATE_KEY_DETECTED` errors being thrown despite checking whether the graph object `_key` exists before adding the new entity to the `jobState`. These tests were added as part of the investigation into the issue. The Qualys integration fix can be found here: JupiterOne-Archives/graph-qualys#190
- Loading branch information
1 parent
94d4030
commit a976e12
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters