You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2014/10/28 13:06:08 UTC

svn commit: r1634854 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java

Author: kkolinko
Date: Tue Oct 28 12:06:07 2014
New Revision: 1634854

URL: http://svn.apache.org/r1634854
Log:
For https://issues.apache.org/bugzilla/show_bug.cgi?id=57154
Temporary workaround to avoid hitting BZ 57154 at Buildbot

Modified:
    tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java

Modified: tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java?rev=1634854&r1=1634853&r2=1634854&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java Tue Oct 28 12:06:07 2014
@@ -409,8 +409,12 @@ public class TestWsWebSocketContainer ex
         Tomcat tomcat = getTomcatInstance();
 
         // Must have a real docBase - just use temp
-        Context ctx =
-            tomcat.addContext("", System.getProperty("java.io.tmpdir"));
+        // Context ctx =
+        //    tomcat.addContext("", System.getProperty("java.io.tmpdir"));
+        // FIXME: Using docBase = appBase. A temporary workaround to avoid
+        // using the system temporary directory as docBase, until either
+        // BZ 57154 is fixed or there is better API from BZ 57155
+        Context ctx = tomcat.addContext("", "");
         ctx.addApplicationListener(ConstantTxConfig.class.getName());
         Tomcat.addServlet(ctx, "default", new DefaultServlet());
         ctx.addServletMapping("/", "default");



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org