I've fixed it with a temporary fixes. I believe that these test cases doesn't make much sense, I'll get clarified them from jclouds community.
Sorry for the inconvenience. On Thu, Apr 3, 2014 at 1:22 PM, Nirmal Fernando <[email protected]>wrote: > Ah... sorry .. guys ,.. seems I missed the test case in aws-ec2. I've > fixed ec2 test case, but didn't notice that there's a test case in aws-ec2 > too. > Will fix this asap. > > > On Thu, Apr 3, 2014 at 12:20 PM, Lahiru Sandaruwan <[email protected]>wrote: > >> I thought this is due to version update and recently added api is >> referring to different version. Seems it is not. >> >> >> >> >> On Wed, Apr 2, 2014 at 11:36 PM, Isuru Perera <[email protected]> wrote: >> >>> Nirmal, >>> >>> Any idea? >>> >>> >>> On Thu, Apr 3, 2014 at 11:58 AM, Dinesh Bandara <[email protected]>wrote: >>> >>>> Hi, >>>> >>>> Getting following error in jclouds Amazon EC2 provider 1.7.1 >>>> >>>> Tests run: 300, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 6.578 >>>> sec <<< FAILURE! >>>> testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroupIds(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest) >>>> Time elapsed: 0.002 sec <<< FAILURE! >>>> java.lang.AssertionError: Sets differ: expected [jclouds#group] but got >>>> [] >>>> at org.testng.Assert.fail(Assert.java:94) >>>> at org.testng.Assert.assertEquals(Assert.java:710) >>>> at org.testng.Assert.assertEquals(Assert.java:688) >>>> at >>>> org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroupIds(CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.java:820) >>>> >>>> testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest) >>>> Time elapsed: 0.002 sec <<< FAILURE! >>>> java.lang.AssertionError: Sets differ: expected [jclouds#group, group1, >>>> group2] but got [group1, group2] >>>> at org.testng.Assert.fail(Assert.java:94) >>>> at org.testng.Assert.assertEquals(Assert.java:710) >>>> at org.testng.Assert.assertEquals(Assert.java:688) >>>> at >>>> org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups(CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.java:784) >>>> >>>> >>>> Results : >>>> >>>> Failed tests: >>>> testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroupIds(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest): >>>> Sets differ: expected [jclouds#group] but got [] >>>> >>>> testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest): >>>> Sets differ: expected [jclouds#group, group1, group2] but got [group1, >>>> group2] >>>> >>>> Tests run: 300, Failures: 2, Errors: 0, Skipped: 0 >>>> >>>> Thanks >>>> -- >>>> *Dinesh Bandara* >>>> Software Engineer >>>> WSO2 Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> >>> >>> >>> -- >>> Isuru Perera >>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/ >>> Lean . Enterprise . Middleware >>> >>> about.me/chrishantha >>> >> >> >> >> -- >> -- >> Lahiru Sandaruwan >> Software Engineer, >> Platform Technologies, >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> email: [email protected] cell: (+94) 773 325 954 >> blog: http://lahiruwrites.blogspot.com/ >> twitter: http://twitter.com/lahirus >> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > Best Regards, > Nirmal > > Nirmal Fernando. > PPMC Member & Committer of Apache Stratos, > Senior Software Engineer, WSO2 Inc. > > Blog: http://nirmalfdo.blogspot.com/ > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
