integration: Close channel instead of writing struct
This commit is contained in:
parent
058122b804
commit
62324781bd
|
@ -266,7 +266,7 @@ func (st *serverTester) Close() {
|
|||
done := make(chan struct{})
|
||||
go func() {
|
||||
st.cmd.Wait()
|
||||
done <- struct{}{}
|
||||
close(done)
|
||||
}()
|
||||
|
||||
st.cmd.Process.Signal(syscall.SIGQUIT)
|
||||
|
|
Loading…
Reference in New Issue