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

Tests: fix upgrade_test #5440

Merged
merged 2 commits into from
Jul 13, 2022
Merged

Tests: fix upgrade_test #5440

merged 2 commits into from
Jul 13, 2022

Conversation

ztlpn
Copy link
Contributor

@ztlpn ztlpn commented Jul 12, 2022

Cover letter

Upgrade test started failing because older versions of redpanda don't
support the partition_autobalancing_mode flag (that was added to the default
config instead of the deprecated enable_auto_rebalance_on_node_add flag.
Looks like the only tests that need a non-default value are node_operations_fuzzy_test (that sets it explicitly anyway) and scaling_up_test (where we explicitly set the value).

Fixes #5437

Release notes

  • none

andrwng
andrwng previously approved these changes Jul 12, 2022
Copy link
Contributor

@andrwng andrwng left a comment

Choose a reason for hiding this comment

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

Thanks for addressing this!

ajfabbri
ajfabbri previously approved these changes Jul 12, 2022
Copy link
Contributor

@ajfabbri ajfabbri left a comment

Choose a reason for hiding this comment

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

LGTM

Upgrade test started failing because older versions of redpanda don't
support the partition_autobalancing_mode flag (that was added to default
config instead of the deprecated enable_auto_rebalance_on_node_add flag.
Looks like the only tests that need a non-default value are
node_operations_fuzzy_test (that sets it explicitly) and scaling_up_test
(where we explicitly set the value)..
@ztlpn
Copy link
Contributor Author

ztlpn commented Jul 13, 2022

Looks like I missed that scaling_up_test also requires the non-default conf value.

@ztlpn ztlpn requested review from ajfabbri and andrwng July 13, 2022 00:18
Sometimes in cithe leader table doesn't get updated in a timely fashion,
leading to sporadic partition_balancer_test failures, so looks like the
timeout of 30 seconds needs to be increased.
@ztlpn
Copy link
Contributor Author

ztlpn commented Jul 13, 2022

There were also some failures of the new partition_balancer_test caused by the leaders table not being updated in a timely fashion, so I increased the timeouts for the wait_until calls.

Copy link
Contributor

@ajfabbri ajfabbri left a comment

Choose a reason for hiding this comment

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

Latest changes look good. Just need clean CI run

@ztlpn
Copy link
Contributor Author

ztlpn commented Jul 13, 2022

Failed in e2e_topic_recovery_test (#5241), restarting...

@ztlpn ztlpn merged commit ab7e752 into redpanda-data:dev Jul 13, 2022
@ztlpn ztlpn deleted the fix-upgrade-test branch November 27, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unknown property partition_autobalancing_mode in UpgradeFromSpecificVersion.test_basic_upgrade
4 participants