You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Gura (JIRA)" <ji...@apache.org> on 2018/04/18 12:51:00 UTC

[jira] [Resolved] (IGNITE-8217) Example DbH2ServerStartup produces a huge annoying output

     [ 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)