Commit 62324781 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

integration: Close channel instead of writing struct

parent 058122b8
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment