Skip to content

Commit

Permalink
Removed parallel execution of tests for sync with impersonate
Browse files Browse the repository at this point in the history
Signed-off-by: anandf <anjoseph@redhat.com>
  • Loading branch information
anandf committed Sep 24, 2024
1 parent bf18f9f commit 3b0a3b7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions controller/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,6 @@ func TestSyncWithImpersonate(t *testing.T) {

t.Run("sync with impersonation and no matching service account", func(t *testing.T) {
// given app sync impersonation feature is enabled with an application referring a project no matching service account
t.Parallel()
f := setup(true, test.FakeArgoCDNamespace, "")
opMessage := "failed to find a matching service account to impersonate: no matching service account found for destination server https://localhost:6443 and namespace fake-dest-ns"

Expand All @@ -1302,7 +1301,6 @@ func TestSyncWithImpersonate(t *testing.T) {

t.Run("sync with impersonation and empty service account match", func(t *testing.T) {
// given app sync impersonation feature is enabled with an application referring a project matching service account that is an empty string
t.Parallel()
f := setup(true, test.FakeDestNamespace, "")
opMessage := "failed to find a matching service account to impersonate: default service account cannot be an empty string"

Expand All @@ -1324,7 +1322,6 @@ func TestSyncWithImpersonate(t *testing.T) {

t.Run("sync with impersonation and matching sa", func(t *testing.T) {
// given app sync impersonation feature is enabled with an application referring a project matching service account
t.Parallel()
f := setup(true, test.FakeDestNamespace, "test-sa")
opMessage := "successfully synced (no more tasks)"

Expand All @@ -1346,7 +1343,6 @@ func TestSyncWithImpersonate(t *testing.T) {

t.Run("sync without impersonation", func(t *testing.T) {
// given app sync impersonation feature is disabled with an application referring a project matching service account
t.Parallel()
f := setup(false, test.FakeDestNamespace, "")
opMessage := "successfully synced (no more tasks)"

Expand Down

0 comments on commit 3b0a3b7

Please sign in to comment.