mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #6079 from gyuho/cleanup-functional-tester
etcd-tester: remove unnecessary arg from stresser
This commit is contained in:
commit
4db07dbc93
@ -180,14 +180,14 @@ func (s *stresser) Stress() error {
|
||||
s.stressTable = createStressTable(stressEntries)
|
||||
|
||||
for i := 0; i < s.N; i++ {
|
||||
go s.run(ctx, kvc)
|
||||
go s.run(ctx)
|
||||
}
|
||||
|
||||
plog.Printf("stresser %q is started", s.Endpoint)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *stresser) run(ctx context.Context, kvc pb.KVClient) {
|
||||
func (s *stresser) run(ctx context.Context) {
|
||||
defer s.wg.Done()
|
||||
|
||||
for {
|
||||
|
Loading…
x
Reference in New Issue
Block a user