Skip to content

Commit

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

Signed-off-by: husharp <[email protected]>
  • Loading branch information
HuSharp authored and nolouch committed Apr 29, 2024
1 parent add0dbc commit da16533
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 da16533

Please sign in to comment.