-
Bug
-
Resolution: Done
-
Major
-
7.1.2.Final (EAP)
-
None
-
None
Executing the following code in a standalone J2SE app:
val out = new PrintStream(new BufferedOutputStream(new FileOutputStream(FileDescriptor.out), 128), true, "UTF-8") out.print("hello\rgoodbye")
Will print:
goodbye
However, when running an Arquillian test with AS, if the code within AS writes that, it will print:
hello goodbye
The culprit is org.jboss.as.arquillian.container.managed.ManagedDeployableContainer.ConsoleConsumer whose consuming the process output and it's using readLine, which is translating \r to \n, when it really shouldn't be any transformation of the output.
- is related to
-
ARQ-696 Last test's standard output is not saved - probably missing flush() ?
- Open