Skip to content

Conversation

shashankhs11
Copy link
Contributor

@shashankhs11 shashankhs11 commented Sep 3, 2025

clean up SmokeTestDriverIntegrationTest

Reviewers: Lucas Brutschy [email protected]

@github-actions github-actions bot added triage PRs from the community streams tests Test fixes (including flaky tests) small Small PRs labels Sep 3, 2025
@lucasbru lucasbru self-assigned this Sep 8, 2025
@lucasbru lucasbru requested a review from Copilot September 8, 2025 07:19
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR cleans up the SmokeTestDriverIntegrationTest by removing the state updater configuration parameter from the parameterized test. The change simplifies the test by removing the stateUpdaterEnabled parameter and its corresponding test cases, reducing the test matrix from 6 combinations to 4.

  • Removes stateUpdaterEnabled parameter from the parameterized test method
  • Updates the @CsvSource annotation to remove test cases that included the state updater parameter
  • Removes the STATE_UPDATER_ENABLED configuration from the test properties

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines 118 to 121
public void shouldWorkWithRebalance(
final boolean stateUpdaterEnabled,
final boolean processingThreadsEnabled,
final boolean streamsProtocolEnabled
) throws InterruptedException {
Copy link
Preview

Copilot AI Sep 8, 2025

Choose a reason for hiding this comment

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

The method signature and parameter documentation should be updated to reflect the removal of the stateUpdaterEnabled parameter. Consider updating any existing JavaDoc comments to accurately describe the current test parameters.

Copilot uses AI. Check for mistakes.

Copy link
Member

@lucasbru lucasbru left a comment

Choose a reason for hiding this comment

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

LGTM

@lucasbru lucasbru changed the title KAFKA-19666: Clean up integration tests related to state-updater KAFKA-19666: Remove old restoration codepath from SmokeTestDriverIntegrationTest [3/N] Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved small Small PRs streams tests Test fixes (including flaky tests) triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants