DieterDP-ng commented on PR #7101:
URL: https://github.com/apache/hbase/pull/7101#issuecomment-2975906754
> @DieterDP-ng the new test seems to reliably fail on branch-3. I wonder if
there was some drift between the last CI run and when I merged master, so maybe
it's broken there as well. Mind taking a look? I'll dig a bit on Monday.
Also the case on master. Managed to track it so far to the buffered mutator
hanging on close. Doesn't seem related to anything backup related though. The
following test case also blocks:
```
private final static HBaseTestingUtil TEST_UTIL = new HBaseTestingUtil();
@BeforeClass
public static void setUpBeforeClass() throws Exception {
TEST_UTIL.startMiniCluster(1);
}
@AfterClass
public static void tearDownAfterClass() throws Exception {
TEST_UTIL.shutdownMiniCluster();
}
@Test
public void testGetDeletableFiles() throws IOException {
TableName table = TableName.valueOf("table1");
TableDescriptor desc = TableDescriptorBuilder.newBuilder(table)
.setColumnFamily(ColumnFamilyDescriptorBuilder.of("f")).build();
Admin ha = TEST_UTIL.getAdmin();
ha.createTable(desc);
try (BufferedMutator bufferedMutator =
TEST_UTIL.getConnection().getBufferedMutator(table)) {
Put put = new Put(Bytes.toBytes("row1"));
put.addColumn(Bytes.toBytes("f"), Bytes.toBytes("q"),
Bytes.toBytes("value"));
List<Put> puts = List.of(put);
bufferedMutator.mutate(puts);
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]