Anita, I ran these tests several times last night, and got more or less the same error, each time in different test cases. I changed the value of the TIME variable from 100 (milliseconds) to 1000, and this seems to have solved the problem. Maybe there's a problem on Windows 98 platforms with the Thread.sleep(int millis) call. Does anyone have a view on this? Also, what's the proper procedure for getting this file changed in cvs?
Thanks, Peter Lynch > -----Original Message----- > From: anita kulshreshtha [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 03, 2004 5:11 AM > To: [EMAIL PROTECTED] > Subject: RE: What does this mean? > > Hi Peter > Here are the results of StopWatchTest - > Testsuite: org.apache.geronimo.common.StopWatchTest > Tests run: 8, Failures: 1, Errors: 0, Time elapsed: > 1.1 sec > > Testcase: testConstructor took 0.06 sec > Testcase: testConstructorRunning took 0 sec > Testcase: testStartStop took 0.11 sec > Testcase: testTwoStarts took 0.11 sec > Testcase: testTwoStops took 0.16 sec > Testcase: testTwoLaps took 0.22 sec > FAILED > Expected more than one second, not 60 > junit.framework.AssertionFailedError: Expected more > than one second, not 60 > at > org.apache.geronimo.common.StopWatchTest.testTwoLaps(StopWatchTest.java:12 > 5) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > 39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm > pl.java:25) > > Testcase: testTwoLapsTestcase: testReset took 0.11 sec > Testcase: testToDuration took 0.16 sec > Thanks > >> Anita << > --- "Lynch, Peter" <[EMAIL PROTECTED]> wrote: > > Hi Anita, > > > > I also have Win98 second edition, with jdk 1.4.2_03, > > and am having problems > > with StopWatchTest. Do you know which test(s) in > > particular are failing? > > Your test results can be found in > > > incubator-geronimo\modules\common\target\test-reports\. > > I am hoping to > > investigate this problem during the next week. I'll > > keep you posted if I > > find anything. > > > > Cheers, > > Peter Lynch > > > > > -----Original Message----- > > > From: anita kulshreshtha > > [SMTP:[EMAIL PROTECTED] > > > Sent: Monday, March 01, 2004 6:33 AM > > > To: [EMAIL PROTECTED]; > > [EMAIL PROTECTED] > > > Subject: Re: What does this mean? > > > > > > Hi > > > I am getting same error on my windows 98 2nd > > ed., > > > jdk1.4.2_01. > > > I am also getting "using or extending a deprecated > > > API" error in > > > > > > > > > ../../core/src/test/o/a/g/test/protocol/mockproto/Handler.java. > > > I had to delete StopWatchTest.java, > > > RAR_1_5ConfigBuilderTest.java, > > > RAR_1_0DconfigBeanTest.java for > > the > > > build to proceed. > > > TIA > > > > > > > This communication is confidential and may contain > > privileged material. > > If you are not the intended recipient you must not > > use, disclose, copy or retain it. > > If you have received it in error please immediately > > notify me by return email > > and delete the emails. > > Thank you. > > > __________________________________ > Do you Yahoo!? > Yahoo! Search - Find what you're looking for faster > http://search.yahoo.com This communication is confidential and may contain privileged material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email and delete the emails. Thank you.
