Small test cleanup

This commit is contained in:
Alex Dadgar
2015-09-25 17:55:29 -07:00
parent 57ade13fc8
commit 04094cfb40
4 changed files with 3 additions and 5 deletions

View File

@@ -161,7 +161,7 @@ func TestJavaDriver_Start_Kill_Wait(t *testing.T) {
select {
case err := <-handle.WaitCh():
if err == nil {
t.Fatalf("should err: %v", err)
t.Fatal("should err")
}
case <-time.After(2 * time.Second):
t.Fatalf("timeout")