Skip to content

Commit

Permalink
More unique org/space names
Browse files Browse the repository at this point in the history
  • Loading branch information
georgethebeatle and danail-branekov committed Jul 4, 2024
1 parent ed6ca31 commit 2377911
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/crds/crds_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ package crds_test
import (
"context"
"encoding/json"
"fmt"
"testing"
"time"

korifiv1alpha1 "code.cloudfoundry.org/korifi/controllers/api/v1alpha1"
"code.cloudfoundry.org/korifi/tests/helpers"
Expand Down Expand Up @@ -133,7 +131,7 @@ var _ = BeforeEach(func() {
Name: uuid.NewString(),
},
Spec: korifiv1alpha1.CFOrgSpec{
DisplayName: fmt.Sprintf("org-%d", time.Now().UnixMicro()),
DisplayName: uuid.NewString(),
},
}

Expand All @@ -149,7 +147,7 @@ var _ = BeforeEach(func() {
Name: uuid.NewString(),
},
Spec: korifiv1alpha1.CFSpaceSpec{
DisplayName: fmt.Sprintf("space-%d", time.Now().UnixMicro()),
DisplayName: uuid.NewString(),
},
}

Expand Down

0 comments on commit 2377911

Please sign in to comment.