public List<String> executeCapture(String cmd) {
			try {
				if (reader == null) {
					reader = Files.newBufferedReader(exec.test.outFile);
				}
				if (cmd != null) {
					execute(cmd);
				}
				List<String> collect = waitForPass(() -> {
					List<String> list = reader.lines().collect(Collectors.toList());
					assertFalse(list.isEmpty());
					return list;
				});
				return collect;
			}
			catch (IOException e) {
				throw new AssertionError(e.getMessage());
			}
		}
Some snapshot likely to exceed the latest
Ghidra/Test/DebuggerIntegrationTest/src/test.slow/java/agent/java/rmi/AbstractJavaTraceRmiTest.java