File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
bigtable/hbase/snippets/src/test/java/com/example/bigtable Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 44
44
45
45
public class FiltersTest {
46
46
47
- @ Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule (5 );
47
+ @ Rule
48
+ public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule (5 );
48
49
49
50
private static final String INSTANCE_ENV = "BIGTABLE_TESTING_INSTANCE" ;
50
51
private static final String TABLE_ID =
@@ -77,8 +78,10 @@ public static void beforeClass() throws IOException {
77
78
try (Admin admin = connection .getAdmin ()) {
78
79
admin .createTable (
79
80
new HTableDescriptor (TableName .valueOf (TABLE_ID ))
80
- .addFamily (new HColumnDescriptor (COLUMN_FAMILY_NAME_STATS ))
81
- .addFamily (new HColumnDescriptor (COLUMN_FAMILY_NAME_DATA )));
81
+ .addFamily (new HColumnDescriptor (COLUMN_FAMILY_NAME_STATS ).setMaxVersions (
82
+ Integer .MAX_VALUE ))
83
+ .addFamily (new HColumnDescriptor (COLUMN_FAMILY_NAME_DATA ).setMaxVersions (
84
+ Integer .MAX_VALUE )));
82
85
83
613B
code>
86
try (BufferedMutator batcher = connection .getBufferedMutator (TableName .valueOf (TABLE_ID ))) {
84
87
@@ -597,4 +600,4 @@ public void testFilterInterleave() {
597
600
+ "\t os_build: PQ2A.190406.000 @%1$s" ,
598
601
TIMESTAMP , TIMESTAMP_MINUS_HR ));
599
602
}
600
- }
603
+ }
You can’t perform that action at this time.
0 commit comments