Skip to content

Conversation

@shashankhs11
Copy link
Contributor

@shashankhs11 shashankhs11 commented Nov 25, 2025

Final cleanup of TaskManagerTest.java

  • Renamed setUpTaskManagerWithStateUpdater to setUpTaskManager
  • Removed WithStateUpdaterEnabled from test names
  • Removed the method setUpTaskManagerWithoutStateUpdater
  • Rewrote the newly added test
    shouldCloseTasksIfStateUpdaterTimesOutOnRemove to use new mocking
    patterns
  • Completely removed the utility class StateMachineTask and also
    handleAssignment method

Reviewers: Lucas Brutschy lbrutschy@confluent.io

@github-actions github-actions bot added triage PRs from the community streams labels Nov 25, 2025
@github-actions github-actions bot added the tests Test fixes (including flaky tests) label Nov 26, 2025
@shashankhs11 shashankhs11 marked this pull request as ready for review November 26, 2025 14:31
@shashankhs11
Copy link
Contributor Author

@lucasbru, tagging for review. Should hopefully be the last one for the test file :)

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. There are few tests that are still called "...WithStateUpdater", I suppose we can drop this suffix now

@lucasbru lucasbru self-assigned this Nov 28, 2025
@github-actions github-actions bot removed the triage PRs from the community label Nov 29, 2025
@shashankhs11
Copy link
Contributor Author

LGTM. There are few tests that are still called "...WithStateUpdater", I suppose we can drop this suffix now

Done! Removed them in 7b07885

Thank you for your patience and all the reviews, Lucas :)

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

Labels

ci-approved streams tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants