Skip to content

HDDS-15322. Add tests for ScmInvoker subclasses.#10336

Merged
szetszwo merged 2 commits into
apache:masterfrom
szetszwo:HDDS-15322
May 24, 2026
Merged

HDDS-15322. Add tests for ScmInvoker subclasses.#10336
szetszwo merged 2 commits into
apache:masterfrom
szetszwo:HDDS-15322

Conversation

@szetszwo
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

See HDDS-15322

What is the link to the Apache JIRA

HDDS-15322

How was this patch tested?

Added new tests.

@szetszwo szetszwo requested a review from Russole May 23, 2026 19:00
final File tmp = new File(DIR, invokerClassName + "_tmp.java");
final File tmp = new File(dir, invokerClassName + "_tmp.java");
if (tmp.exists()) {
throw new IOException("Already exist: " + java.getAbsolutePath());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Although this was not introduced in this PR, since this method is being touched, should this error message use tmp.getAbsolutePath() instead of java.getAbsolutePath() ? The file that already exists here is tmp.

@Russole
Copy link
Copy Markdown
Contributor

Russole commented May 24, 2026

Thanks @szetszwo for working on this. Overall LGTM, just one minor comment.

Copy link
Copy Markdown
Contributor

@Russole Russole left a comment

Choose a reason for hiding this comment

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

The changes look good to me. LGTM!

@szetszwo szetszwo merged commit d70bffb into apache:master May 24, 2026
90 of 91 checks passed
@szetszwo
Copy link
Copy Markdown
Contributor Author

@Russole , thanks for reviewing this!

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.

2 participants