> On Гру. 21, 2015, 2:21 після полудня, Andrew Onischuk wrote:
> > ambari-server/src/test/java/org/apache/ambari/server/bootstrap/BootStrapTest.java,
> >  line 111
> > <https://reviews.apache.org/r/41606/diff/1/?file=1173825#file1173825line111>
> >
> >     Wondering why don't we use join. To wait for thread. This can break on 
> > slow envs like BAO is

1) Because we don't have an instance of bsRunner(thread) in test, and we can't 
get it. To get it, we should add additional code to existing non test logic.
2) I decided to fix problem in context of logic that we have for now. 5 seconds 
it's not a critical time for more than 1 hour, for full java tests run.


- Vitalyi


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


On Гру. 21, 2015, 2:18 після полудня, Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41606/
> -----------------------------------------------------------
> 
> (Updated Гру. 21, 2015, 2:18 після полудня)
> 
> 
> Review request for Ambari, Andrew Onischuk, Dmitro Lisnichenko, and Dmytro 
> Sen.
> 
> 
> Bugs: AMBARI-14446
>     https://issues.apache.org/jira/browse/AMBARI-14446
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> {code}
> Stacktrace
> 
> junit.framework.AssertionFailedError: null
>       at junit.framework.Assert.fail(Assert.java:48)
>       at junit.framework.Assert.assertTrue(Assert.java:20)
>       at junit.framework.Assert.assertFalse(Assert.java:34)
>       at junit.framework.Assert.assertFalse(Assert.java:41)
>       at 
> org.apache.ambari.server.bootstrap.BootStrapTest.testRun(BootStrapTest.java:110)
> {code}
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/test/java/org/apache/ambari/server/bootstrap/BootStrapTest.java
>  df68ef9 
> 
> Diff: https://reviews.apache.org/r/41606/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>

Reply via email to