Author: jim.ma
Date: 2009-11-13 01:35:54 -0500 (Fri, 13 Nov 2009)
New Revision: 11113
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
Log:
[JBWS-2817]:Removed the sleep code, it is not helpful for CopyJob to copy the command
execution result
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2009-11-13
06:29:26 UTC (rev 11112)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2009-11-13
06:35:54 UTC (rev 11113)
@@ -93,8 +93,6 @@
String command = javaCmd + " -Djava.endorsed.dirs=" + jbl + FS +
"endorsed -cp " + cp + " " + TestClient.class.getName() + "
" + getServerHost();
ByteArrayOutputStream bout = new ByteArrayOutputStream();
executeCommand(command, bout);
- //wait the CopyJob to copy the process.inputStream
- Thread.sleep(3000);
String res = null;
if (bout.toByteArray() != null) {
String output = new String(bout.toByteArray());