----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/17847/#review34053 -----------------------------------------------------------
Commit 899ad1739359a4d851a033aa5743745199133494 in branch refs/heads/master from Ashutosh K [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=899ad17 ] CLOUDSTACK-5978: Changes in get_template function to make it independent of ostype passed through test case - ASF Subversion and Git Services On Feb. 7, 2014, 1:59 p.m., Ashutosh Kelkar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/17847/ > ----------------------------------------------------------- > > (Updated Feb. 7, 2014, 1:59 p.m.) > > > Review request for cloudstack and Girish Shilamkar. > > > Bugs: CLOUDSTACK-5978 > https://issues.apache.org/jira/browse/CLOUDSTACK-5978 > > > Repository: cloudstack-git > > > Description > ------- > > Some test cases are failing because the ostype passed to the get_template > function is different in each test case and it fails whenever it does not > match with the ostype of template in the CS setup. Changed get_template > function so that ostype id does not have any effect on the returning data (It > will always return the feature, built in template in the given zone which is > in READY state). This way we eliminate the dependency between the test case > and the CS setup. > > This is the first set of change in marvin library. In next step, we can > remove the hard coded ostype from all the test cases. For now, this is > sufficient to save test cases from failing due to hard coded value. > > > Diffs > ----- > > tools/marvin/marvin/integration/lib/common.py 550de1a > > Diff: https://reviews.apache.org/r/17847/diff/ > > > Testing > ------- > > Yes. > > > Thanks, > > Ashutosh Kelkar > >