On Thu, Jun 9, 2011 at 3:25 PM, Amila Maha Arachchi <[email protected]> wrote:
> Hi Amila, > > On Sun, May 29, 2011 at 3:21 PM, Amila Suriarachchi <[email protected]>wrote: > >> >> >> On Sun, May 29, 2011 at 2:47 PM, Afkham Azeez <[email protected]> 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. >> > > It seems like this was fixed. But a similar issue occurred to me in > eventing/org.wso2.carbon.eventing.broker tests in 3.2.0 branch in the US > builder. Although eventing is not used now, it still exists in the profile. > Can we simply comment out eventing from components pom.xml? > I think we earlier also had this conclusion. if the build passes with that please comment out it. thanks, Amila. > > This is the surefire report. > > > ------------------------------------------------------------------------------- > Test set: > org.wso2.carbon.eventing.broker.builders.GetStatusCommandBuilderTest > > ------------------------------------------------------------------------------- > Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.531 sec > <<< FAILURE! > testSubscriptionToSOAP12EnvelopeWithTimeStamp(org.wso2.carbon.eventing.broker.builders.GetStatusCommandBuilderTest) > Time elapsed: 0.067 sec <<< FAILURE! > junit.framework.ComparisonFailure: Invalid response for the get status > request > expected:<...ing"><wse:Expires>19[70-01-01T08:55:45.678+05:3]0</wse:Expires></wse...> > but was:<...ing"><wse:Expires>19[69-12-31T22:25:45.678-05: > > 0]0</wse:Expires></wse...> > at junit.framework.Assert.assertEquals(Assert.java:81) > at > org.wso2.carbon.eventing.broker.builders.GetStatusCommandBuilderTest.testSubscriptionToSOAP12EnvelopeWithTimeStamp(GetStatusCommandBuilderTest.java:175) > > testSubscriptionToSOAP11EnvelopeWithTimeStamp(org.wso2.carbon.eventing.broker.builders.GetStatusCommandBuilderTest) > Time elapsed: 0.001 sec <<< FAILURE! > junit.framework.ComparisonFailure: Invalid response for the get status > request > expected:<...ing"><wse:Expires>19[70-01-01T08:55:45.678+05:3]0</wse:Expires></wse...> > but was:<...ing"><wse:Expires>19[69-12-31T22:25:45.678-05: > > 0]0</wse:Expires></wse...> > at junit.framework.Assert.assertEquals(Assert.java:81) > at > org.wso2.carbon.eventing.broker.builders.GetStatusCommandBuilderTest.testSubscriptionToSOAP11EnvelopeWithTimeStamp(GetStatusCommandBuilderTest.java:189) > > > > > > ------------------------------------------------------------------------------- > Test set: org.wso2.carbon.eventing.broker.builders.RenewCommandBuilderTest > > ------------------------------------------------------------------------------- > Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec > <<< FAILURE! > testSubscriptionToSOAP12Envelope(org.wso2.carbon.eventing.broker.builders.RenewCommandBuilderTest) > Time elapsed: 0.002 sec <<< FAILURE! > junit.framework.ComparisonFailure: Invalid response for the renew request > expected:<...ing"><wse:Expires>19[70-01-01T08:55:45.678+05:3]0</wse:Expires></wse...> > but was:<...ing"><wse:Expires>19[69-12-31T22:25:45.678-05:0]0</ > > wse:Expires></wse...> > at junit.framework.Assert.assertEquals(Assert.java:81) > at > org.wso2.carbon.eventing.broker.builders.RenewCommandBuilderTest.testSubscriptionToSOAP12Envelope(RenewCommandBuilderTest.java:239) > > testSubscriptionToSOAP11Envelope(org.wso2.carbon.eventing.broker.builders.RenewCommandBuilderTest) > Time elapsed: 0.001 sec <<< FAILURE! > junit.framework.ComparisonFailure: Invalid response for the renew request > expected:<...ing"><wse:Expires>19[70-01-01T08:55:45.678+05:3]0</wse:Expires></wse...> > but was:<...ing"><wse:Expires>19[69-12-31T22:25:45.678-05:0]0</ > > wse:Expires></wse...> > at junit.framework.Assert.assertEquals(Assert.java:81) > at > org.wso2.carbon.eventing.broker.builders.RenewCommandBuilderTest.testSubscriptionToSOAP11Envelope(RenewCommandBuilderTest.java:253) > > > > Thanks, > AmilaM. > >> >> thanks, >> Amila. >> >> >>> >>> >>> On Sun, May 29, 2011 at 2:09 PM, Amila Suriarachchi <[email protected]>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 <[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 >>>> >>>> >>> >>> >>> -- >>> *Afkham Azeez* >>> Director of Architecture; WSO2, Inc.; http://wso2.com >>> Member; Apache Software Foundation; http://www.apache.org/ >>> * <http://www.apache.org/>** >>> email: **[email protected]* <[email protected]>* 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 >>> [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 >> >> >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
