Skip to content

Commit

Permalink
test: remove math/rand with less support for crypto
Browse files Browse the repository at this point in the history
Signed-off-by: Wen Zhou <[email protected]>
  • Loading branch information
zdtsw committed Mar 15, 2024
1 parent c88adc4 commit 8bfef65
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions pkg/cluster/cluster_operations_suite_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ package cluster_test

import (
"context"
"math/rand"
"testing"
"time"

v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime"
Expand Down Expand Up @@ -33,8 +31,6 @@ func TestClusterOperationsIntegration(t *testing.T) {
}

var _ = BeforeSuite(func() {
rand.Seed(time.Now().UTC().UnixNano())

ctx, cancel = context.WithCancel(context.TODO())

opts := zap.Options{Development: true}
Expand Down
3 changes: 0 additions & 3 deletions tests/integration/features/features_suite_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ package features_test
import (
"context"
"fmt"
"math/rand"
"path/filepath"
"testing"
"time"

ofapiv1alpha1 "github.com/operator-framework/api/pkg/operators/v1alpha1"
v1 "k8s.io/api/core/v1"
Expand Down Expand Up @@ -42,7 +40,6 @@ func TestFeaturesIntegration(t *testing.T) {
}

var _ = BeforeSuite(func() {
rand.Seed(time.Now().UTC().UnixNano())

ctx, cancel = context.WithCancel(context.TODO())

Expand Down

0 comments on commit 8bfef65

Please sign in to comment.