mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #10368 from johncming/blankline
pkg/testutil: add blankline between two functions
This commit is contained in:
commit
fde617d2dc
@ -49,6 +49,7 @@ func (r *RecorderBuffered) Record(a Action) {
|
||||
r.actions = append(r.actions, a)
|
||||
r.Unlock()
|
||||
}
|
||||
|
||||
func (r *RecorderBuffered) Action() []Action {
|
||||
r.Lock()
|
||||
cpy := make([]Action, len(r.actions))
|
||||
@ -56,6 +57,7 @@ func (r *RecorderBuffered) Action() []Action {
|
||||
r.Unlock()
|
||||
return cpy
|
||||
}
|
||||
|
||||
func (r *RecorderBuffered) Wait(n int) (acts []Action, err error) {
|
||||
// legacy racey behavior
|
||||
WaitSchedule()
|
||||
|
Loading…
x
Reference in New Issue
Block a user