Skip to content

Conversation

@ngngwr
Copy link
Collaborator

@ngngwr ngngwr commented Dec 19, 2025

Issues

NA

Description

image image

The test failures started after the change introduced in
#43
.

With this change, IdealStateChange now triggers the External View pipeline, even when the cluster is in maintenance mode. As a result:

  • A new ExternalView is created during maintenance mode.
  • Resource assignment does not occur, since the rebalance pipeline is skipped when maintenance mode is enabled.
  • Existing tests assumed that no ExternalView would be generated in maintenance mode, causing intermittent failures.

This PR updates the affected tests to align with the new behavior by validating the correct ExternalView state without expecting assignments during maintenance mode.

Tests

Fixes the TestClusterMaintenanceMode tests.

@ngngwr ngngwr changed the title [Draft - DO NOT REVIEW ]Fix Flaky Tests Fix TestClusterMaintenanceMode Flaky Tests Jan 5, 2026
Copy link
Collaborator

@LZD-PratyushBhatt LZD-PratyushBhatt left a comment

Choose a reason for hiding this comment

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

LGTM

@ngngwr ngngwr merged commit 82c67d4 into dev Jan 6, 2026
1 of 2 checks passed
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