close timer faster

This commit is contained in:
Darien Raymond committed 2017-05-09 00:01:15 +02:00
1 parent aea71c2aa8
commit 5829b45bbe
12 files changed
+96 -90

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ func TestBuildAndRun(t *testing.T) {
cmd.Stderr = errBuffer
cmd.Start()
<-time.After(1 * time.Second)
time.Sleep(1 * time.Second)
cmd.Process.Kill()
outStr := string(outBuffer.Bytes())