Minor changes (round 1) in response to John's review comments.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/branches/farewellSwt@6155 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/junit/JUnitShell.java b/user/src/com/google/gwt/junit/JUnitShell.java
index 244dc07..22c28e1 100644
--- a/user/src/com/google/gwt/junit/JUnitShell.java
+++ b/user/src/com/google/gwt/junit/JUnitShell.java
@@ -427,7 +427,7 @@
* begin running the test. "Contacted" does not necessarily mean "the test has
* begun," e.g. for linker errors stopping the test initialization.
*/
- private static final int TEST_BEGIN_TIMEOUT_MILLIS = 6000000;
+ private static final int TEST_BEGIN_TIMEOUT_MILLIS = 60000;
/**
* The amount of time to wait for all clients to complete a single test
@@ -617,7 +617,6 @@
*/
private JUnitShell() {
setRunTomcat(true);
- setHeadless(false);
setHeadless(GraphicsEnvironment.isHeadless());
// Legacy: -Dgwt.hybrid runs web mode
@@ -647,8 +646,8 @@
protected void initializeLogger() {
if (isHeadless()) {
consoleLogger = new PrintWriterTreeLogger();
- // TODO (amitmanjhi): GwtShell overlay fix.
- consoleLogger.setMaxDetail(TreeLogger.INFO);
+ // previously, in legacy hosted mode, the call was:
+ // consoleLogger.setMaxDetail(getCompilerOptions().getLogLevel());
} else {
super.initializeLogger();
}