Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
2.4
-
None
-
None
Description
Example DbH2ServerStartup produces a huge annoying output on STDOUT redirected to file in autotests:
Type 'q' and press 'Enter' to stop H2 TCP server...
Due to code following:
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. } }
I suppose we can put Thread.sleep(1000) in the while loop and reduce repeating lines