HBASE-13141 IntegrationTestAcidGuarantees returns incorrect values for getColumnFamilies

This commit is contained in:
Jonathan M Hsieh 2015-03-02 21:26:01 -08:00
parent e0019d99de
commit daed00fc98
1 changed files with 4 additions and 3 deletions

View File

@ -21,6 +21,7 @@ import com.google.common.collect.Sets;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy;
import org.apache.hadoop.hbase.testclassification.IntegrationTests;
import org.apache.hadoop.hbase.util.Bytes;
import org.apache.hadoop.util.ToolRunner;
import org.junit.Test;
import org.junit.experimental.categories.Category;
@ -83,9 +84,9 @@ public class IntegrationTestAcidGuarantees extends IntegrationTestBase {
@Override
protected Set<String> getColumnFamilies() {
return Sets.newHashSet(String.valueOf(TestAcidGuarantees.FAMILY_A),
String.valueOf(TestAcidGuarantees.FAMILY_B),
String.valueOf(TestAcidGuarantees.FAMILY_C));
return Sets.newHashSet(Bytes.toString(TestAcidGuarantees.FAMILY_A),
Bytes.toString(TestAcidGuarantees.FAMILY_B),
Bytes.toString(TestAcidGuarantees.FAMILY_C));
}
// ***** Actual integration tests