Skip to content

roachtest: wait smaller duration before timining out lease prefs#108483

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
kvoli:230809.lease-prefs-early-fail
Aug 21, 2023
Merged

roachtest: wait smaller duration before timining out lease prefs#108483
craig[bot] merged 1 commit intocockroachdb:masterfrom
kvoli:230809.lease-prefs-early-fail

Conversation

@kvoli
Copy link
Copy Markdown
Contributor

@kvoli kvoli commented Aug 9, 2023

Previously, the lease-preferences roachtests would fail on the test
tiemout, despite the test actually failing much earlier. 5 minutes
stopping a node, the node is considered dead, and up-replication will
begin. If the cluster doesn't satisfy lease preferences within that 5
minute window, the test will reliably fail -- making the remainder of
the test timeout (30 or 60 minutes), wasted time.

Fail earlier, by adhering to a post event timeout. This timeout set to
10 minutes.

Informs: #108425
Epic: none
Release note: None

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Previously, the `lease-preferences` roachtests would fail on the test
tiemout, despite the test actually failing much earlier. 5 minutes
stopping a node, the node is considered dead, and up-replication will
begin. If the cluster doesn't satisfy lease preferences within that 5
minute window, the test will reliably fail -- making the remainder of
the test timeout (30 or 60 minutes), wasted time.

Fail earlier, by adhering to a post event timeout. This timeout set to
10 minutes.

Informs: cockroachdb#108425
Epic: none
Release note: None
@kvoli kvoli force-pushed the 230809.lease-prefs-early-fail branch from e196675 to 664cc2c Compare August 10, 2023 13:42
@kvoli kvoli marked this pull request as ready for review August 10, 2023 15:05
@kvoli kvoli requested a review from a team as a code owner August 10, 2023 15:05
@kvoli kvoli requested review from DarrylWong, erikgrinaker and rachitgsrivastava and removed request for a team August 10, 2023 15:05
@kvoli kvoli self-assigned this Aug 10, 2023
@kvoli kvoli added the backport-23.1.x PAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request only label Aug 10, 2023
@kvoli
Copy link
Copy Markdown
Contributor Author

kvoli commented Aug 21, 2023

TYFTR!

bors r=erikgrinaker

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 21, 2023

Build succeeded:

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

Labels

backport-23.1.x PAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants