Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Auge2015-08-28 13:43:58 +0000
committerRaymond Auge2015-08-28 16:11:14 +0000
commit32c380dfca716e82f1e1c2daf405bd29a7d486d6 (patch)
tree74435fb49b72449b977193b0d855e8a1e953c4c1
parent0515ca47ba1fff651d3871092688291def8a1abd (diff)
downloadrt.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.java6
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);

Back to the top