mirror of https://github.com/apache/jmeter.git
NativeCommand hangs if no input file is specified and the application requests input
Bugzilla Id: 55349 git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1509896 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d55e8a4a8e
commit
18414e5218
|
|
@ -103,6 +103,8 @@ public class NativeCommand {
|
|||
if (stdin != null) {
|
||||
swin = new StreamCopier(new FileInputStream(stdin), proc.getOutputStream());
|
||||
swin.start();
|
||||
} else {
|
||||
proc.getOutputStream().close(); // ensure the application does not hang if it requests input
|
||||
}
|
||||
int exitVal = proc.waitFor();
|
||||
|
||||
|
|
|
|||
|
|
@ -230,6 +230,7 @@ Previously the default was 1, which could cause unexpected additional traffic.
|
|||
<li><bugzilla>54913</bugzilla> - JMSPublisherGui incorrectly restores its state</li>
|
||||
<li><bugzilla>55027</bugzilla> - Test Action regression, duration value is not recorded (nightly build)</li>
|
||||
<li><bugzilla>55163</bugzilla> - BeanShellTestElement fails to quote string when calling testStarted(String)/testEnded(String)</li>
|
||||
<li><bugzilla>55349</bugzilla> - NativeCommand hangs if no input file is specified and the application requests input</li>
|
||||
</ul>
|
||||
|
||||
<h3>Controllers</h3>
|
||||
|
|
|
|||
Loading…
Reference in New Issue