We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 680edbe commit 553f783Copy full SHA for 553f783
qa/die-with-dignity/src/test/java/org/elasticsearch/qa/die_with_dignity/DieWithDignityIT.java
@@ -34,7 +34,6 @@
34
import java.util.List;
35
36
import static org.hamcrest.Matchers.containsString;
37
-import static org.hamcrest.Matchers.equalTo;
38
import static org.hamcrest.Matchers.not;
39
40
public class DieWithDignityIT extends ESRestTestCase {
@@ -49,7 +48,6 @@ public void testDieWithDignity() throws Exception {
49
48
assertBusy(() -> {
50
final String jpsPath = PathUtils.get(System.getProperty("runtime.java.home"), "bin/jps").toString();
51
final Process process = new ProcessBuilder().command(jpsPath, "-v").start();
52
- assertThat(process.waitFor(), equalTo(0));
53
54
try (InputStream is = process.getInputStream();
55
BufferedReader in = new BufferedReader(new InputStreamReader(is, "UTF-8"))) {
0 commit comments