We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0e63ae commit 85d76a9Copy full SHA for 85d76a9
affinity/src/test/java/net/openhft/affinity/AffinityLockTest.java
@@ -43,8 +43,9 @@ public class AffinityLockTest {
43
public void shouldDumpSystemProperties() throws Exception {
44
if (System.getProperty("os.name").startsWith("Linux")) {
45
final Process process = new ProcessBuilder().command("ldd", "--version").inheritIO().start();
46
- if (!process.waitFor(1, TimeUnit.SECONDS)) {
47
- System.out.println("ldd did not exit");
+ final int exitCode = process.waitFor();
+ if (exitCode != 0) {
48
+ System.out.println("ldd did not exit cleanly: " + exitCode);
49
}
50
51
0 commit comments