I had a look at the test cases and seems that we have hard coded the +05:30
time zone on them. so these test may fail in a different time zone.

But please go head skipping tests since this is only a problem with the test
case.

thanks,
Amila.

On Sun, May 29, 2011 at 1:28 PM, Amila Suriarachchi <[email protected]> wrote:

> I ran the test with my local machine and worked fine.
>
>
> junit.framework.
>>
>> ComparisonFailure: Invalid response for the get status
>> request
>> expected:<...Expires>1970-01-01T0[8:55:45.678+05:3]0</wse:Expires></wse...>
>> but was:<...Expires>1970-01-01T0[3:25:45.678+00:0]0</wse:Expires></w
>> se...>
>
>
> This seems to be a test case problem. since 8.55 + 5.30 == 3.25 + 0.00
>
> what is the time zone of the test machine?
>
> thanks,
> Amila.
>
>
>
> On Sun, May 29, 2011 at 11:29 AM, Prabath Siriwardena <[email protected]>wrote:
>
>> Hi,
>>
>> We have test failures in event/org.wso2.carbon.event.ws. Please have a
>> look - since this is blocking the RC3
>>
>> release1@1ec2:~/carbon-3.2.0/components/event/
>> org.wso2.carbon.event.ws/3.2.0/target/surefire-reports$
>> more
>> org.wso2.carbon.event.ws.internal.builders.GetStatusCommandBuilderTest.txt
>>
>> -------------------------------------------------------------------------------
>> Test set:
>> org.wso2.carbon.event.ws.internal.builders.GetStatusCommandBuilderTest
>>
>> -------------------------------------------------------------------------------
>> Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.617
>> sec <<< FAILURE!
>>
>> testSubscriptionToSOAP12EnvelopeWithTimeStamp(org.wso2.carbon.event.ws.internal.builders.GetStatusCommandBuilderTest)
>>  Time elapsed: 0.038 sec  <<< FAILURE!
>> junit.framework.ComparisonFailure: Invalid response for the get status
>> request
>> expected:<...Expires>1970-01-01T0[8:55:45.678+05:3]0</wse:Expires></wse...>
>> but was:<...Expires>1970-01-01T0[3:25:45.678+00:0]0</wse:Expires></w
>> se...>
>>    at junit.framework.Assert.assertEquals(Assert.java:81)
>>    at
>> org.wso2.carbon.event.ws.internal.builders.GetStatusCommandBuilderTest.testSubscriptionToSOAP12EnvelopeWithTimeStamp(GetStatusCommandBuilderTest.java:175)
>>
>>
>> testSubscriptionToSOAP11EnvelopeWithTimeStamp(org.wso2.carbon.event.ws.internal.builders.GetStatusCommandBuilderTest)
>>  Time elapsed: 0.002 sec  <<< FAILURE!
>> junit.framework.ComparisonFailure: Invalid response for the get status
>> request
>> expected:<...Expires>1970-01-01T0[8:55:45.678+05:3]0</wse:Expires></wse...>
>> but was:<...Expires>1970-01-01T0[3:25:45.678+00:0]0</wse:Expires></w
>> se...>
>>    at junit.framework.Assert.assertEquals(Assert.java:81)
>>    at
>> org.wso2.carbon.event.ws.internal.builders.GetStatusCommandBuilderTest.testSubscriptionToSOAP11EnvelopeWithTimeStamp(GetStatusCommandBuilderTest.java:189)
>>
>> release1@1ec2:~/carbon-3.2.0/components/event/
>> org.wso2.carbon.event.ws/3.2.0/target/surefire-reports$
>> release1@1ec2:~/carbon-3.2.0/components/event/
>> org.wso2.carbon.event.ws/3.2.0/target/surefire-reports$
>> release1@1ec2:~/carbon-3.2.0/components/event/
>> org.wso2.carbon.event.ws/3.2.0/target/surefire-reports$
>> more
>> org.wso2.carbon.event.ws.internal.builders.RenewCommandBuilderTest.txt
>>
>> -------------------------------------------------------------------------------
>> Test set:
>> org.wso2.carbon.event.ws.internal.builders.RenewCommandBuilderTest
>>
>> -------------------------------------------------------------------------------
>> Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.532
>> sec <<< FAILURE!
>>
>> testSubscriptionToSOAP12Envelope(org.wso2.carbon.event.ws.internal.builders.RenewCommandBuilderTest)
>>  Time elapsed: 0.052 sec  <<< FAILURE!
>> junit.framework.ComparisonFailure: Invalid response for the renew
>> request
>> expected:<...Expires>1970-01-01T0[8:55:45.678+05:3]0</wse:Expires></wse...>
>> but was:<...Expires>1970-01-01T0[3:25:45.678+00:0]0</wse:Expires></wse...
>> >
>>    at junit.framework.Assert.assertEquals(Assert.java:81)
>>    at
>> org.wso2.carbon.event.ws.internal.builders.RenewCommandBuilderTest.testSubscriptionToSOAP12Envelope(RenewCommandBuilderTest.java:239)
>>
>>
>> testSubscriptionToSOAP11Envelope(org.wso2.carbon.event.ws.internal.builders.RenewCommandBuilderTest)
>>  Time elapsed: 0.002 sec  <<< FAILURE!
>> junit.framework.ComparisonFailure: Invalid response for the renew
>> request
>> expected:<...Expires>1970-01-01T0[8:55:45.678+05:3]0</wse:Expires></wse...>
>> but was:<...Expires>1970-01-01T0[3:25:45.678+00:0]0</wse:Expires></wse...
>> >
>>    at junit.framework.Assert.assertEquals(Assert.java:81)
>>    at
>> org.wso2.carbon.event.ws.internal.builders.RenewCommandBuilderTest.testSubscriptionToSOAP11Envelope(RenewCommandBuilderTest.java:253)
>>
>> --
>> Thanks & Regards,
>> Prabath
>>
>> http://blog.facilelogin.com
>> http://RampartFAQ.com
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to