diff options
author | Raymond Auge | 2015-08-28 13:43:58 +0000 |
---|---|---|
committer | Raymond Auge | 2015-08-28 16:11:14 +0000 |
commit | 32c380dfca716e82f1e1c2daf405bd29a7d486d6 (patch) | |
tree | 74435fb49b72449b977193b0d855e8a1e953c4c1 | |
parent | 0515ca47ba1fff651d3871092688291def8a1abd (diff) | |
download | rt.equinox.bundles-32c380dfca716e82f1e1c2daf405bd29a7d486d6.tar.gz rt.equinox.bundles-32c380dfca716e82f1e1c2daf405bd29a7d486d6.tar.xz rt.equinox.bundles-32c380dfca716e82f1e1c2daf405bd29a7d486d6.zip |
Bug 476069 - [http servlet] quiet the logs and make tests work on linux
-rw-r--r-- | bundles/org.eclipse.equinox.http.servlet.tests/src/org/eclipse/equinox/http/servlet/tests/DispatchingTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.http.servlet.tests/src/org/eclipse/equinox/http/servlet/tests/DispatchingTest.java b/bundles/org.eclipse.equinox.http.servlet.tests/src/org/eclipse/equinox/http/servlet/tests/DispatchingTest.java index ee73a8970..c07c45f75 100644 --- a/bundles/org.eclipse.equinox.http.servlet.tests/src/org/eclipse/equinox/http/servlet/tests/DispatchingTest.java +++ b/bundles/org.eclipse.equinox.http.servlet.tests/src/org/eclipse/equinox/http/servlet/tests/DispatchingTest.java @@ -62,6 +62,12 @@ public class DispatchingTest extends TestCase { @Override public void setUp() throws Exception { + // Quiet logging for tests + System.setProperty("/.LEVEL", "OFF"); + System.setProperty("org.eclipse.jetty.server.LEVEL", "OFF"); + System.setProperty("org.eclipse.jetty.servlet.LEVEL", "OFF"); + + System.setProperty("org.osgi.service.http.port", "8090"); BundleContext bundleContext = getBundleContext(); installer = new BundleInstaller(ServletTest.TEST_BUNDLES_BINARY_DIRECTORY, bundleContext); advisor = new BundleAdvisor(bundleContext); |