On Sun, May 29, 2011 at 3:21 PM, Amila Suriarachchi <am...@wso2.com> wrote:
> > > On Sun, May 29, 2011 at 2:47 PM, Afkham Azeez <az...@wso2.com> wrote: > >> But this means the source packs we release would fail, so we are going to >> fix this before the final packs right? > > > Still people can change the timezone of their machine and build. > > Anyway I'll try to fix this. > Yeah, test should not fail out of the box. > > thanks, > Amila. > > >> >> >> On Sun, May 29, 2011 at 2:09 PM, Amila Suriarachchi <am...@wso2.com>wrote: >> >>> 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 <am...@wso2.com>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 <prab...@wso2.com >>>> > 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 >>>>> Carbon-dev@wso2.org >>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>> >>>> >>>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> *Afkham Azeez* >> Director of Architecture; WSO2, Inc.; http://wso2.com >> Member; Apache Software Foundation; http://www.apache.org/ >> * <http://www.apache.org/>** >> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 >> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >> * >> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >> * >> * >> *Lean . Enterprise . Middleware* >> >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>** email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev