File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
qa/die-with-dignity/src/test/java/org/elasticsearch/qa/die_with_dignity Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 34
34
import java .util .List ;
35
35
36
36
import static org .hamcrest .Matchers .containsString ;
37
- import static org .hamcrest .Matchers .equalTo ;
38
37
import static org .hamcrest .Matchers .not ;
39
38
40
39
public class DieWithDignityIT extends ESRestTestCase {
@@ -49,7 +48,6 @@ public void testDieWithDignity() throws Exception {
49
48
assertBusy (() -> {
50
49
final String jpsPath = PathUtils .get (System .getProperty ("runtime.java.home" ), "bin/jps" ).toString ();
51
50
final Process process = new ProcessBuilder ().command (jpsPath , "-v" ).start ();
52
- assertThat (process .waitFor (), equalTo (0 ));
53
51
54
52
try (InputStream is = process .getInputStream ();
55
53
BufferedReader in = new BufferedReader (new InputStreamReader (is , "UTF-8" ))) {
You can’t perform that action at this time.
0 commit comments