Nice catch Raj! We might have to check whether this flawed logic is used in other test cases.
On Sat, Nov 21, 2015 at 11:02 PM, Rajkumar Rajaratnam <rajkum...@wso2.com> wrote: > I have fixed this now with dfb878c9f9272cd549de145482906b3c9cba9d80. > > So this particular bug has not been revealed until now :). May be > application force-undeployment has not been triggered for this particular > test-case. > > Thanks, > Raj. > > On Sat, Nov 21, 2015 at 10:55 PM, Rajkumar Rajaratnam <rajkum...@wso2.com> > wrote: > >> This is a bug in the test case :). >> >> "assertEquals" should be changed to "assertTrue". >> >> Refer [1]. >> >> [1] >> https://github.com/apache/stratos/blob/stratos-4.1.x/products/stratos/modules/integration/test-integration/src/test/java/org/apache/stratos/integration/tests/application/ApplicationBurstingTestCase.java#L167-L168 >> >> On Sat, Nov 21, 2015 at 10:30 PM, Gayan Gunarathne <gay...@wso2.com> >> wrote: >> >>> Seems our integration test are getting failed. Will check with the local >>> build. >>> >>> testApplicationBusting(org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase) >>> Time elapsed: 530.134 sec <<< FAILURE! >>> java.lang.AssertionError: expected:<true> but was:<Forceful undeployment >>> failed for the application application-bursting-test> >>> at org.testng.Assert.fail(Assert.java:89) >>> at org.testng.Assert.failNotEquals(Assert.java:489) >>> at org.testng.Assert.assertEquals(Assert.java:118) >>> at org.testng.Assert.assertEquals(Assert.java:160) >>> at >>> org.apache.stratos.integration.tests.application.ApplicationBurstingTestCase.testApplicationBusting(ApplicationBurstingTestCase.java:167) >>> >>> >>> Results : >>> >>> Failed tests: >>> ApplicationBurstingTestCase.testApplicationBusting:167 expected:<true> >>> but was:<Forceful undeployment failed for the application >>> application-bursting-test> >>> >>> >>> >>> >>> On Sat, Nov 21, 2015 at 10:20 PM, Apache Jenkins Server < >>> jenk...@builds.apache.org> wrote: >>> >>>> See <https://builds.apache.org/job/Stratos-41x-Commit-Build/168/changes >>>> > >>>> >>>> >>> >>> >>> -- >>> >>> Gayan Gunarathne >>> Technical Lead, WSO2 Inc. (http://wso2.com) >>> Committer & PMC Member, Apache Stratos >>> email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> >>> >>> >>> >> >> >> >> -- >> Rajkumar Rajaratnam >> Committer & PMC Member, Apache Stratos >> Software Engineer, WSO2 >> >> Mobile : +94777568639 >> Blog : rajkumarr.com >> > > > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com