Skip to content

Commit

Permalink
set tempDir protected when used in a subclass
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmay-bhat committed Dec 20, 2023
1 parent 012d216 commit 1082465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public abstract class TestIcebergSourceTablesBase extends TestBase {

private static final PartitionSpec SPEC = PartitionSpec.builderFor(SCHEMA).identity("id").build();

@TempDir private Path temp;
@TempDir protected Path temp;

public abstract Table createTable(
TableIdentifier ident, Schema schema, PartitionSpec spec, Map<String, String> properties);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public abstract class TestReadProjection {
protected abstract Record writeAndRead(
String desc, Schema writeSchema, Schema readSchema, Record record) throws IOException;

@TempDir private Path temp;
@TempDir protected Path temp;

@Test
public void testFullProjection() throws Exception {
Expand Down

0 comments on commit 1082465

Please sign in to comment.