Skip to content

Commit

Permalink
Fixed Test Case
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuj Modi committed Nov 24, 2023
1 parent 2b2ee8e commit 85a4d62
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,14 @@ public void testFooterReadBufferSizeConfiguration() throws Exception {
FSDataInputStream iStream = fs.open(testFilePath);
verifyConfigValueInStream(iStream, DEFAULT_FOOTER_READ_BUFFER_SIZE);

// Verify that value set in config is used if not builder is not used
// Verify that value set in config is used if builder is not used
getAbfsStore(fs).getAbfsConfiguration()
.setFooterReadBufferSize(footerReadBufferSizeConfig);
iStream = fs.open(testFilePath);
verifyConfigValueInStream(iStream, footerReadBufferSizeConfig);

// Verify that when builder is used value set in parameters is used
getAbfsStore(fs).getAbfsConfiguration().unset(AZURE_FOOTER_READ_BUFFER_SIZE);
FutureDataInputStreamBuilder builder = fs.openFile(testFilePath);
builder.opt(AZURE_FOOTER_READ_BUFFER_SIZE,
footerReadBufferSizeBuilder);
Expand Down

0 comments on commit 85a4d62

Please sign in to comment.