Skip to content

test: convert tests in druid-processing to junit5 pt. 8#19387

Open
clintropolis wants to merge 1 commit intoapache:masterfrom
clintropolis:processing-junit5-pt8
Open

test: convert tests in druid-processing to junit5 pt. 8#19387
clintropolis wants to merge 1 commit intoapache:masterfrom
clintropolis:processing-junit5-pt8

Conversation

final File toDir = temporaryFolder.newFolder();
final File fromFile = File.createTempFile("from", null, temporaryFolder);
final File toDir = new File(temporaryFolder, "toDir");
toDir.mkdir();
{
File baseDir = folder.newFolder("base");
File baseDir = new File(folder, "base");
baseDir.mkdir();
{
File baseDir = folder.newFolder("base");
File baseDir = new File(folder, "base");
baseDir.mkdir();
{
File baseDir = folder.newFolder("base");
File baseDir = new File(folder, "base");
baseDir.mkdir();
final SegmentFileChannel writer = smoosher.addWithChannel(StringUtils.format("%d", i), 4);
writer.write(ByteBuffer.wrap(Ints.toByteArray(i)));
File baseDir = new File(folder, "base");
baseDir.mkdir();

final File tmpFile2 = tempFolder.newFolder();
final File tmpFile2 = new File(tempFolder, "dir2");
tmpFile2.mkdir();
{
final File tmpFile = tempFolder.newFolder();
final File tmpFile = new File(tempFolder, "dir1");
tmpFile.mkdir();

final File tmpFile2 = tempFolder.newFolder();
final File tmpFile2 = new File(tempFolder, "dir2");
tmpFile2.mkdir();
// value sizes increase until they span at least 3 pages of compressed buffers
final File tmpFile = tempFolder.newFolder();
final File tmpFile = new File(tempFolder, "dir1");
tmpFile.mkdir();

final File tmpFile2 = tempFolder.newFolder();
final File tmpFile2 = new File(tempFolder, "dir2");
tmpFile2.mkdir();
Copy link
Copy Markdown
Member

@FrankChen021 FrankChen021 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed the code for correctness, edge cases, concurrency, and integration risks; no issues found.


This is an automated review by Codex GPT-5

Copy link
Copy Markdown
Contributor

@capistrant capistrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all that chatter from the bots about not checking the result of mkdir seems ok since these are just tests. I guess it could make troubleshooting confusing if mkdir failing quietly makes a test fail in a hard to decipher way. but 🤷 I'm ok with no adjustment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants