-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure a single connect per logical query (#224)
* Ensure a single connect per logical query When the claimstore executes multiple queries against the crud store to execute a logical query, e.g. ReadInstallationStatus, ensure that it only results in a single call to Connect. I've updated the claim store tests to use our MockStore so that we can assert on connects/closes. The MockStore was using nested maps that was hard to understand so I refactored it so it's easier to understand. Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com> * Fix setting MockStore count node name Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com> * Alway sort in list operations Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com> * Add missing newline Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
- Loading branch information
1 parent
3fca591
commit a6382d9
Showing
5 changed files
with
257 additions
and
130 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
Oops, something went wrong.