geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Cabrera <...@toolazydogs.com>
Subject RE: org.apache.geronimo.common.task.URLMonitorTaskTest FAILED
Date Wed, 10 Sep 2003 01:48:17 GMT
Odd.  Turning on the logging makes the problem disappear.

> -----Original Message-----
> From: Dain Sundstrom [mailto:dain@coredevelopers.net] 
> Sent: Tuesday, September 09, 2003 12:55 PM
> To: geronimo-dev@incubator.apache.org
> Subject: Re: org.apache.geronimo.common.task.URLMonitorTaskTest FAILED
> 
> 
> Here is what I use:
> 
> # allow trace messages through the root category 
> log4j.rootCategory=TRACE#org.apache.geronimo.kernel.log.XLevel
> , CONSOLE
> 
> # print trace messages to the console 
> log4j.appender.CONSOLE.Threshold=TRACE#org.apache.geronimo.ker
> nel.log.XL 
> evel
> 
> # restrict everything to DEBUG
> log4j.logger.org=INFO
> 
> # lower interesting stuff to TRACT 
> log4j.logger.org.apache.geronimo.common.task.URLMonitorTaskTest=  
> TRACE#org.apache.geronimo.kernel.log.XLevel
> 
> This should work, but I didn't test it.
> 
> -dain
> 
> On Tuesday, September 9, 2003, at 06:40 AM, Alan Cabrera wrote:
> 
> > How do I enable the trace?
> >
> >
> > -----Original Message-----
> > From: Siva [mailto:siva@sivasundaram.com]
> > Sent: Tuesday, September 09, 2003 1:13 AM
> > To: geronimo-dev@incubator.apache.org
> > Subject: Re: 
> org.apache.geronimo.common.task.URLMonitorTaskTest FAILED
> >
> > Alan,
> >  
> >     It runs for me.Do you have the latest copy of the 
> sources?Can you 
> > enable the trace in URLMonitorTask and send us the output?
> >  
> > Siva
> >    
> >
> > ----- Original Message -----
> > From: Alan Cabrera
> > To: 'geronimo-dev@incubator.apache.org'
> > Sent: Tuesday, September 09, 2003 9:19 AM
> > Subject: org.apache.geronimo.common.task.URLMonitorTaskTest FAILED
> >
> > JD 1.4.2
> > W2K Advanced Server
> >  
> > Testsuite: org.apache.geronimo.common.task.URLMonitorTaskTest
> > Tests run: 4, Failures: 1, Errors: 0, Time elapsed: 0.187 sec
> >  
> > Testcase: testConstructorWithNull took 0.062 sec
> > Testcase: testGetURL took 0.016 sec
> > Testcase: testAddRemoveListeners took 0.016 sec
> > Testcase: testEventFiring took 0.046 sec
> >  FAILED
> > expected:<1063078511140> but was:<1063078511125>
> > junit.framework.AssertionFailedError: expected:<1063078511140> but
> > was:<1063078511125>
> >  at  
> > 
> org.apache.geronimo.common.task.URLMonitorTaskTest.testEventFi
> ring(URLM 
> > onitorTaskTest.java:164)
> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >  at  
> > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.ja 
> > va:39)
> >  at  
> > 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccesso 
> > rImpl.java:25)
> >  
> > Testcase: testEventFiring
> >
> >
> 
> /*************************
>   * Dain Sundstrom
>   * Partner
>   * Core Developers Network
>   *************************/
> 

Mime
View raw message