Skip to content

Commit

Permalink
fix java test
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Feb 17, 2016
1 parent f1c80af commit 48a97e0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions client/driver/java_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,10 @@ func TestJavaDriver_Start_Kill_Wait(t *testing.T) {
}
case <-time.After(time.Duration(testutil.TestMultiplier()*10) * time.Second):
t.Fatalf("timeout")
}

// need to kill long lived process
err = handle.Kill()
if err != nil {
t.Fatalf("Error: %s", err)
// Need to kill long lived process
if err = handle.Kill(); err != nil {
t.Fatalf("Error: %s", err)
}
}
}

0 comments on commit 48a97e0

Please sign in to comment.