Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Added unit tests and fix e2e tests for application sync decoupling feature (cherry-pick #19966) #20219

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

gcp-cherry-pick-bot[bot]
Copy link

Cherry-picked chore: Added unit tests and fix e2e tests for application sync decoupling feature (#19966)

  • fixed doc comments and added unit tests

Signed-off-by: anandf anjoseph@redhat.com

  • Added comments for the newly added unit tests

Signed-off-by: anandf anjoseph@redhat.com

  • Refactored method name to deriveServiceAccountToImpersonate

Signed-off-by: anandf anjoseph@redhat.com

  • Using const name in return value

Signed-off-by: anandf anjoseph@redhat.com

  • Added unit tests for argocd proj add-destination-service-accounts

Signed-off-by: anandf anjoseph@redhat.com

  • Fixed failing e2e tests

Signed-off-by: anandf anjoseph@redhat.com

  • Fix linting errors

Signed-off-by: anandf anjoseph@redhat.com

  • Using require package instead of assert and fixed code generation

Signed-off-by: anandf anjoseph@redhat.com

  • Removed parallel execution of tests for sync with impersonate

Signed-off-by: anandf anjoseph@redhat.com

  • Added err checks for glob validations

Signed-off-by: anandf anjoseph@redhat.com

  • Fixed e2e tests for sync impersonation

Signed-off-by: anandf anjoseph@redhat.com

  • Using consistently based expects in E2E tests

Signed-off-by: anandf anjoseph@redhat.com

  • Added more unit tests and fixed go generate

Signed-off-by: anandf anjoseph@redhat.com

  • Fixed failed lint errors, unit and e2e test failures

Signed-off-by: anandf anjoseph@redhat.com

  • Fixed goimports linter issue

Signed-off-by: anandf anjoseph@redhat.com

  • Added code comments and added few missing unit tests

Signed-off-by: anandf anjoseph@redhat.com

  • Added missing unit test for GetDestinationServiceAccounts method

Signed-off-by: anandf anjoseph@redhat.com

  • Fixed goimports formatting with local for project_test.go

Signed-off-by: anandf anjoseph@redhat.com

  • Corrected typo in a field name additionalObjs

Signed-off-by: anandf anjoseph@redhat.com

  • Fixed failing unit tests

Signed-off-by: anandf anjoseph@redhat.com


Signed-off-by: anandf anjoseph@redhat.com

…ling feature (#19966)

* fixed doc comments and added unit tests

Signed-off-by: anandf <anjoseph@redhat.com>

* Added comments for the newly added unit tests

Signed-off-by: anandf <anjoseph@redhat.com>

* Refactored method name to deriveServiceAccountToImpersonate

Signed-off-by: anandf <anjoseph@redhat.com>

* Using const name in return value

Signed-off-by: anandf <anjoseph@redhat.com>

* Added unit tests for argocd proj add-destination-service-accounts

Signed-off-by: anandf <anjoseph@redhat.com>

* Fixed failing e2e tests

Signed-off-by: anandf <anjoseph@redhat.com>

* Fix linting errors

Signed-off-by: anandf <anjoseph@redhat.com>

* Using require package instead of assert and fixed code generation

Signed-off-by: anandf <anjoseph@redhat.com>

* Removed parallel execution of tests for sync with impersonate

Signed-off-by: anandf <anjoseph@redhat.com>

* Added err checks for glob validations

Signed-off-by: anandf <anjoseph@redhat.com>

* Fixed e2e tests for sync impersonation

Signed-off-by: anandf <anjoseph@redhat.com>

* Using consistently based expects in E2E tests

Signed-off-by: anandf <anjoseph@redhat.com>

* Added more unit tests and fixed go generate

Signed-off-by: anandf <anjoseph@redhat.com>

* Fixed failed lint errors, unit and e2e test failures

Signed-off-by: anandf <anjoseph@redhat.com>

* Fixed goimports linter issue

Signed-off-by: anandf <anjoseph@redhat.com>

* Added code comments and added few missing unit tests

Signed-off-by: anandf <anjoseph@redhat.com>

* Added missing unit test for GetDestinationServiceAccounts method

Signed-off-by: anandf <anjoseph@redhat.com>

* Fixed goimports formatting with local for project_test.go

Signed-off-by: anandf <anjoseph@redhat.com>

* Corrected typo in a field name additionalObjs

Signed-off-by: anandf <anjoseph@redhat.com>

* Fixed failing unit tests

Signed-off-by: anandf <anjoseph@redhat.com>

---------

Signed-off-by: anandf <anjoseph@redhat.com>
@gcp-cherry-pick-bot gcp-cherry-pick-bot bot requested review from a team as code owners October 3, 2024 19:37
@ishitasequeira ishitasequeira merged commit 61f63f3 into release-2.13 Oct 3, 2024
9 of 12 checks passed
@ishitasequeira ishitasequeira deleted the cherry-pick-c3f8bb-release-2.13 branch October 3, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants