forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Added unit tests and fix e2e tests for application sync decoup…
…ling feature (argoproj#19966) * fixed doc comments and added unit tests Signed-off-by: anandf <[email protected]> * Added comments for the newly added unit tests Signed-off-by: anandf <[email protected]> * Refactored method name to deriveServiceAccountToImpersonate Signed-off-by: anandf <[email protected]> * Using const name in return value Signed-off-by: anandf <[email protected]> * Added unit tests for argocd proj add-destination-service-accounts Signed-off-by: anandf <[email protected]> * Fixed failing e2e tests Signed-off-by: anandf <[email protected]> * Fix linting errors Signed-off-by: anandf <[email protected]> * Using require package instead of assert and fixed code generation Signed-off-by: anandf <[email protected]> * Removed parallel execution of tests for sync with impersonate Signed-off-by: anandf <[email protected]> * Added err checks for glob validations Signed-off-by: anandf <[email protected]> * Fixed e2e tests for sync impersonation Signed-off-by: anandf <[email protected]> * Using consistently based expects in E2E tests Signed-off-by: anandf <[email protected]> * Added more unit tests and fixed go generate Signed-off-by: anandf <[email protected]> * Fixed failed lint errors, unit and e2e test failures Signed-off-by: anandf <[email protected]> * Fixed goimports linter issue Signed-off-by: anandf <[email protected]> * Added code comments and added few missing unit tests Signed-off-by: anandf <[email protected]> * Added missing unit test for GetDestinationServiceAccounts method Signed-off-by: anandf <[email protected]> * Fixed goimports formatting with local for project_test.go Signed-off-by: anandf <[email protected]> * Corrected typo in a field name additionalObjs Signed-off-by: anandf <[email protected]> * Fixed failing unit tests Signed-off-by: anandf <[email protected]> --------- Signed-off-by: anandf <[email protected]> Signed-off-by: Moleus <[email protected]>
- Loading branch information
Showing
27 changed files
with
1,422 additions
and
86 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.