Skip to content

Commit

Permalink
tests/etcd: remove mod to make test stable (#8102)
Browse files Browse the repository at this point in the history
ref #7969, close #8091

Signed-off-by: husharp <[email protected]>
  • Loading branch information
HuSharp authored Apr 19, 2024
1 parent 5d3c8c1 commit 32bf572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/etcdutil/testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func NewTestSingleConfig() *embed.Config {
}

func genRandName() string {
return "test_etcd_" + strconv.FormatInt(time.Now().UnixNano()%10000, 10)
return "test_etcd_" + strconv.FormatInt(time.Now().UnixNano(), 10)
}

// NewTestEtcdCluster is used to create a etcd cluster for the unit test purpose.
Expand Down

0 comments on commit 32bf572

Please sign in to comment.