You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/11/25 11:57:46 UTC

[Bug 58650] New: TestConnectionLimit test case creates "${catalina.base}" directory in Tomcat sources

https://bz.apache.org/bugzilla/show_bug.cgi?id=58650

            Bug ID: 58650
           Summary: TestConnectionLimit test case creates
                    "${catalina.base}" directory in Tomcat sources
           Product: Tomcat 9
           Version: 9.0.0.M1
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: knst.kolinko@gmail.com

An odd effect, that I cannot explain yet.

In Tomcat trunk if I run the whole testsuite or the following single test:

test.entry=org.apache.tomcat.websocket.TestConnectionLimit

a directory with name "${catalina.base}" is created in Tomcat sources. It
contains a directory "logs" and the following empty files:

${catalina.base}/logs/
catalina.2015-11-25.log
host-manager.2015-11-25.log
localhost.2015-11-25.log
manager.2015-11-25.log

The test TestConnectionLimit contains a single @Ignore'd test case. It
originates from r1656077.

My guess that maybe shutdown of JVM (created to run this testcase) triggers
some initialization code in JULI.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 58650] TestConnectionLimit test case creates "${catalina.base}" directory in Tomcat sources

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58650

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Thanks for tracking down the root cause of this. It has been bugging me for a
while.

I've moved the @Ignore from the single test method to the class and that seems
to have fixed this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 58650] TestConnectionLimit test case creates "${catalina.base}" directory in Tomcat sources

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58650

--- Comment #2 from Huxing Zhang <hu...@gmail.com> ---
I am about to report this issue when I found this ticket today. :)
Yes, test.entry=org.apache.tomcat.websocket.TestConnectionLimit is the cause of
this issue.
Thanks for Mark's quick fix to this annoying issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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