Skip to content

Commit

Permalink
adjustment for master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ndimiduk committed Sep 20, 2023
1 parent d4718d2 commit 29011bf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
import org.apache.hadoop.hbase.CellBuilderFactory;
import org.apache.hadoop.hbase.CellBuilderType;
import org.apache.hadoop.hbase.HBaseClassTestRule;
import org.apache.hadoop.hbase.HBaseTestingUtility;
import org.apache.hadoop.hbase.HBaseTestingUtil;
import org.apache.hadoop.hbase.fs.HFileSystem;
import org.apache.hadoop.hbase.nio.ByteBuff;
import org.apache.hadoop.hbase.testclassification.IOTests;
Expand Down Expand Up @@ -88,7 +88,7 @@ public class TestHFileBlockHeaderCorruption {

public TestHFileBlockHeaderCorruption() throws IOException {
TestName testName = new TestName();
hFileTestRule = new HFileTestRule(new HBaseTestingUtility(), testName);
hFileTestRule = new HFileTestRule(new HBaseTestingUtil(), testName);
ruleChain = RuleChain.outerRule(testName).around(hFileTestRule);
}

Expand Down Expand Up @@ -422,13 +422,13 @@ public void restore() throws IOException {

public static class HFileTestRule extends ExternalResource {

private final HBaseTestingUtility testingUtility;
private final HBaseTestingUtil testingUtility;
private final HFileSystem hfs;
private final HFileContext context;
private final TestName testName;
private Path path;

public HFileTestRule(HBaseTestingUtility testingUtility, TestName testName) throws IOException {
public HFileTestRule(HBaseTestingUtil testingUtility, TestName testName) throws IOException {
this.testingUtility = testingUtility;
this.testName = testName;
this.hfs = (HFileSystem) HFileSystem.get(testingUtility.getConfiguration());
Expand Down

0 comments on commit 29011bf

Please sign in to comment.