Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused methods #21988

Merged
merged 3 commits into from
Jan 27, 2023
Merged

Remove unused methods #21988

merged 3 commits into from
Jan 27, 2023

Conversation

benmoriceau
Copy link
Contributor

What

Remove unused methods that we using a variable name attemptId which was actually an attemptNumber.

@octavia-squidington-iv octavia-squidington-iv added area/platform issues related to the platform area/worker Related to worker labels Jan 27, 2023
@@ -196,42 +192,6 @@ void createResetJob() throws JsonValidationException, ConfigNotFoundException, I
Assertions.assertThat(output.getJobId()).isEqualTo(JOB_ID);
}

@Test
@DisplayName("Test attempt creation")
void createAttempt() throws IOException {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test can be removed because there is already one that call the other method.

@benmoriceau benmoriceau temporarily deployed to more-secrets January 27, 2023 17:33 — with GitHub Actions Inactive
@benmoriceau benmoriceau temporarily deployed to more-secrets January 27, 2023 17:34 — with GitHub Actions Inactive
@benmoriceau benmoriceau temporarily deployed to more-secrets January 27, 2023 17:36 — with GitHub Actions Inactive
@benmoriceau benmoriceau temporarily deployed to more-secrets January 27, 2023 17:36 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2023

Airbyte Code Coverage

File Coverage [52.12%]
JobCreationAndStatusUpdateActivityImpl.java 88.21% 🍏
JobCreationAndStatusUpdateActivity.java 21.28%
Total Project Coverage 24.04%

@benmoriceau benmoriceau temporarily deployed to more-secrets January 27, 2023 19:28 — with GitHub Actions Inactive
@benmoriceau benmoriceau temporarily deployed to more-secrets January 27, 2023 19:28 — with GitHub Actions Inactive
@benmoriceau benmoriceau merged commit ddfd82b into master Jan 27, 2023
@benmoriceau benmoriceau deleted the bmoric/remove-unused-method branch January 27, 2023 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform area/worker Related to worker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants