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

raft: enable store liveness in raft unit tests phase 1 #133670

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

iskettaneh
Copy link
Contributor

This commit modifies the following tests to allow them to run in both store liveness enabled/disabled configurations:

  1. TestCommitWithoutNewTermEntry
  2. TestConfChangeCheckBeforeCampaign
  3. TestConfChangeV2CheckBeforeCampaign
  4. TestLeaderCycle
  5. TestLeaderCyclePreVote
  6. TestLeaderTransferReceiveHigherTermVote
  7. TestLogReplication
  8. TestOldMessages

References: #132241

Release note: None

@iskettaneh iskettaneh requested a review from arulajmani October 29, 2024 14:13
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@iskettaneh iskettaneh marked this pull request as ready for review October 31, 2024 15:56
@iskettaneh iskettaneh requested a review from a team as a code owner October 31, 2024 15:56
Copy link
Collaborator

@arulajmani arulajmani left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @iskettaneh)

@iskettaneh iskettaneh force-pushed the RaftEnableStoreLivenessTests branch from a5dc86e to 1ca7833 Compare November 1, 2024 15:50
@iskettaneh
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Nov 1, 2024
133131: workload/schemachange: setColumnType operations will occasionally fail r=Dedej-Bergin a=Dedej-Bergin

Previously this test would fail due to 0A000 and 2BP01 even though those failures are expected.
In these code changes we properly handle these errors.

Epic: CRDB-25314

Fixes: #66662
Release note: None

133670: raft: enable store liveness in raft unit tests phase 1 r=iskettaneh a=iskettaneh

This commit modifies the following tests to allow them to run in both store liveness enabled/disabled configurations:

1) TestCommitWithoutNewTermEntry
2) TestConfChangeCheckBeforeCampaign
3) TestConfChangeV2CheckBeforeCampaign
4) TestLeaderCycle
5) TestLeaderCyclePreVote
6) TestLeaderTransferReceiveHigherTermVote
7) TestLogReplication
8) TestOldMessages

References: #132241

Release note: None

Co-authored-by: Bergin Dedej <[email protected]>
Co-authored-by: Ibrahim Kettaneh <[email protected]>
@craig
Copy link
Contributor

craig bot commented Nov 1, 2024

Build failed (retrying...):

@rickystewart
Copy link
Collaborator

bors r-

Some issue with the CI job that I've never seen before...

@craig
Copy link
Contributor

craig bot commented Nov 1, 2024

Canceled.

@rickystewart
Copy link
Collaborator

#134074 to correct that. Also your PR is failing the lints as you can see here.

@iskettaneh iskettaneh force-pushed the RaftEnableStoreLivenessTests branch from 1ca7833 to 79de58f Compare November 1, 2024 20:04
This commit modifies the following tests to allow them to run in
both store liveness enabled/disabled configurations:

1) TestCommitWithoutNewTermEntry
2) TestConfChangeCheckBeforeCampaign
3) TestConfChangeV2CheckBeforeCampaign
4) TestLeaderCycle
5) TestLeaderCyclePreVote
6) TestLeaderTransferReceiveHigherTermVote
7) TestLogReplication
8) TestOldMessages

References: cockroachdb#132241

Release note: None
@iskettaneh iskettaneh force-pushed the RaftEnableStoreLivenessTests branch from 79de58f to 4e5b2d9 Compare November 1, 2024 20:04
@iskettaneh
Copy link
Contributor Author

bors r+

@craig craig bot merged commit 6c92b92 into cockroachdb:master Nov 1, 2024
22 of 23 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