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

kvserver: fix rebalance obj test on arm mac #96947

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

kvoli
Copy link
Collaborator

@kvoli kvoli commented Feb 10, 2023

Previosly,TestRebalanceObjectiveManager and
TestLoadBasedRebalancingObjective would assert assuming that it was possible for the test host to use grunning, however this is not true for ARM Mac.

This patch ammends these tests to test a subset of behavior when grunning isn't supported and then exit.

Fixes: #96934

Release note: None

@kvoli kvoli self-assigned this Feb 10, 2023
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@kvoli kvoli force-pushed the 230210.split-obj-risc branch from 835930e to 0764023 Compare February 10, 2023 15:26
@kvoli kvoli marked this pull request as ready for review February 10, 2023 16:10
@kvoli kvoli requested a review from a team as a code owner February 10, 2023 16:10
@kvoli kvoli requested a review from pav-kv February 10, 2023 16:10
@kvoli kvoli force-pushed the 230210.split-obj-risc branch from 0764023 to e76218a Compare February 10, 2023 17:25
@kvoli
Copy link
Collaborator Author

kvoli commented Feb 10, 2023

TYFTR

@kvoli
Copy link
Collaborator Author

kvoli commented Feb 10, 2023

bors r=pavelkalinnikov

@craig
Copy link
Contributor

craig bot commented Feb 10, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Feb 10, 2023

Build failed:

Previosly,`TestRebalanceObjectiveManager` and
`TestLoadBasedRebalancingObjective` would assert assuming that it was
possible for the test host to use `grunning`, however this is not true
for ARM Mac.

This patch ammends these tests to test a subset of behavior when
`grunning` isn't supported and then exit.

Fixes: cockroachdb#96934

Release note: None
@kvoli kvoli force-pushed the 230210.split-obj-risc branch from e76218a to 4c2d4c3 Compare February 10, 2023 20:30
@kvoli
Copy link
Collaborator Author

kvoli commented Feb 10, 2023

bors r=pavelkalinnikov

@craig craig bot merged commit 8c2060c into cockroachdb:master Feb 10, 2023
@craig
Copy link
Contributor

craig bot commented Feb 10, 2023

Build succeeded:

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.

kvserver: TestLoadBasedRebalancingObjective failed
3 participants