Skip to content

Commit

Permalink
Fix teams e2e test isolation (#1606)
Browse files Browse the repository at this point in the history
  • Loading branch information
josvazg committed May 23, 2024
1 parent 4fb8731 commit af4981e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/e2e/teams_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper/e2e/actions"
"github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper/e2e/data"
"github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper/e2e/model"
"github.com/mongodb/mongodb-atlas-kubernetes/v2/test/helper/e2e/utils"
)

var _ = Describe("Teams", Label("teams"), func() {
Expand Down Expand Up @@ -53,15 +54,15 @@ var _ = Describe("Teams", Label("teams"), func() {
[]akov2.Team{
{
TeamRef: common.ResourceRefNamespaced{
Name: "my-team-1",
Name: utils.RandomName("my-team-1"),
},
Roles: []akov2.TeamRole{
akov2.TeamRoleOwner,
},
},
{
TeamRef: common.ResourceRefNamespaced{
Name: "my-team-2",
Name: utils.RandomName("my-team-2"),
},
Roles: []akov2.TeamRole{
akov2.TeamRoleOwner,
Expand Down

0 comments on commit af4981e

Please sign in to comment.