> On March 28, 2014, 6:23 p.m., Andrew Onischuk wrote:
> > ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_monitor.py, 
> > line 237
> > <https://reviews.apache.org/r/19791/diff/1/?file=539865#file539865line237>
> >
> >     don't copy the same content please in scripts, they get too big then 
> > and unmaintainable, unreadable, let's better put some things which are 
> > common for this test method and other test methods in this file into some 
> > common function and call it from both

agreed


> On March 28, 2014, 6:23 p.m., Andrew Onischuk wrote:
> > ambari-server/src/test/python/stacks/utils/RMFTestCase.py, line 138
> > <https://reviews.apache.org/r/19791/diff/1/?file=539870#file539870line138>
> >
> >     can you also please provide info and example how that works?

provided


> On March 28, 2014, 6:23 p.m., Andrew Onischuk wrote:
> > ambari-server/src/test/python/stacks/utils/RMFTestCase.py, line 148
> > <https://reviews.apache.org/r/19791/diff/1/?file=539870#file539870line148>
> >
> >     As far as I know, It's better style to have comma last, so next 
> > editions is easier

agreed


> On March 28, 2014, 6:23 p.m., Andrew Onischuk wrote:
> > ambari-server/src/test/python/stacks/utils/RMFTestCase.py, line 151
> > <https://reviews.apache.org/r/19791/diff/1/?file=539870#file539870line151>
> >
> >     Let's remove this, so all people use equal style of tests, that is 
> > better readable

explained


> On March 28, 2014, 6:23 p.m., Andrew Onischuk wrote:
> > ambari-server/src/test/python/stacks/utils/RMFTestCase.py, line 160
> > <https://reviews.apache.org/r/19791/diff/1/?file=539870#file539870line160>
> >
> >     can you also please attach example of new output?

provided


- Dmitro


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19791/#review38926
-----------------------------------------------------------


On March 28, 2014, 6:12 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19791/
> -----------------------------------------------------------
> 
> (Updated March 28, 2014, 6:12 p.m.)
> 
> 
> Review request for Ambari and Andrew Onischuk.
> 
> 
> Bugs: AMBARI-5245
>     https://issues.apache.org/jira/browse/AMBARI-5245
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Fixed jira, also refactored RMFTestCase.py a bit 
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/package/scripts/ganglia_monitor.py
>  8c63b23 
>   
> ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/package/scripts/ganglia_server.py
>  b27bf61 
>   
> ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/package/scripts/params.py
>  65d5e66 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_monitor.py
>  f257f83 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_server.py
>  a1c1b41 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/params.py
>  d7f6e41 
>   ambari-server/src/test/python/stacks/1.3.2/GANGLIA/test_ganglia_monitor.py 
> 85fceca 
>   ambari-server/src/test/python/stacks/1.3.2/GANGLIA/test_ganglia_server.py 
> 9e7630c 
>   
> ambari-server/src/test/python/stacks/1.3.2/configs/default.non_gmetad_host.json
>  PRE-CREATION 
>   ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_monitor.py 
> 8a21873 
>   ambari-server/src/test/python/stacks/2.0.6/GANGLIA/test_ganglia_server.py 
> 82cedd8 
>   ambari-server/src/test/python/stacks/2.0.6/configs/default.json c835c94 
>   ambari-server/src/test/python/stacks/2.0.6/configs/default.json  
>   
> ambari-server/src/test/python/stacks/2.1/STORM/test_storm_rest_api_service.py 
> 8983882 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py b5adcbd 
> 
> Diff: https://reviews.apache.org/r/19791/diff/
> 
> 
> Testing
> -------
> 
> Tried installing 1.3.2 and 2.1 stacks, also tried 2-node cluster setup.
> 
> ----------------------------------------------------------------------
> Ran 190 tests in 0.460s
> 
> OK
> ----------------------------------------------------------------------
> Total run:506
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>

Reply via email to