-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some additional FabricTable unit tests (#20534)
* Add some additional FabricTable unit tests - Some operations have been manually and integration-tested, but there are still FabricTable tests with TODO - This PR implements the following FabricTable unit test - TestFabricLabelChange - TestAddNocRootCollision - During development of unit tests, the following fixes were done: - Add a `GetFabricLabel(FabricIndex, CharSpan)` method to be symmetrical with `SetFabricLabel(FabricIndex, CharSpan)` - Fix the error code returned by CommitPendingFabric when a root is added, but neither Add was never done - Better document the existing methods Testing done: - Added unit tests - All unit tests pass - Integration tests still pass * Remove needless comment line * Address review comment * Improve trusted-root-only case and metadata deletion logging
- Loading branch information
1 parent
50a5b24
commit 39bea60
Showing
3 changed files
with
372 additions
and
24 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
Oops, something went wrong.