[ 
https://issues.apache.org/jira/browse/IGNITE-8217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Gura resolved IGNITE-8217.
---------------------------------
    Resolution: Won't Fix

Workaround is found.

> Example DbH2ServerStartup produces a huge annoying output
> ---------------------------------------------------------
>
>                 Key: IGNITE-8217
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8217
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Sergey Kozlov
>            Priority: Minor
>             Fix For: 2.5
>
>
> Example DbH2ServerStartup produces a huge annoying output on STDOUT 
> redirected to file in autotests:
> {noformat}
> Type 'q' and press 'Enter' to stop H2 TCP server...
>  {noformat}
> Due to code following:
> {code:java}
> try {
>             do {
>                 System.out.println("Type 'q' and press 'Enter' to stop H2 TCP 
> server...");
>             }
>             while ('q' != System.in.read());
>         }
>         catch (IOException ignored) {
>             // No-op.
>         }
> }
> {code}
> I suppose we can put {{Thread.sleep(1000)}} in the {{while}} loop and reduce 
> repeating lines



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to