Can anyone explain tome about the 2 unit tests in hbase-client have the same code?

2016-08-15 Thread Huang, Zhi
Hi, I am reading the test code in hbase, and I found in this test class: https://github.com/apache/hbase/blob/master/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestClientNoCluster.java in line 233 and line 244: the method codes are exactly the same! When one fails, how do you know w

Re: Can anyone explain tome about the 2 unit tests in hbase-client have the same code?

2016-08-15 Thread Ted Yu
Not sure what scenario testRegionServerStoppedOnScannerOpen() intended to test. Looks like testRegionServerStoppedOnScannerOpen() can be dropped. On Mon, Aug 15, 2016 at 8:13 PM, Huang, Zhi wrote: > Hi, > I am reading the test code in hbase, and I found in this test class: > https://github.com