![]() Our WaitGroup.Add() call might happen after some WaitGroup.Done() calls done by the controller, so make sure that doesn't happen by doing the Add() calls before letting the controller run. --- FAIL: TestUpdate (2.00s) panic: sync: WaitGroup is reused before previous Wait has returned [recovered] panic: sync: WaitGroup is reused before previous Wait has returned |
||
---|---|---|
.. | ||
controller_test.go | ||
controller.go | ||
doc.go | ||
fake_controller_source_test.go | ||
fake_controller_source.go |