Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Feb 28, 2023

In JDK 20 Thread suspend/resume is soft removed (they now throw UnsupportedOperationException). Many ES disruption tests simulate GC pauses with suspend/resume. As that strategy will no longer work, this commit mutes those tests for jdk20+.

relates #94206
closes #93707

In JDK 20 Thread suspend/resume is soft removed (they now throw
UnsupportedOperationException). Many ES disruption tests simulate GC
pauses with suspend/resume. As that strategy will no longer work, this
commit mutes those tests for jdk20+.

relates elastic#94206
closes elastic#93707
@rjernst rjernst added >test Issues or PRs that are addressing/adding tests :Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. v7.17.10 v8.7.1 v8.8.0 labels Feb 28, 2023
@elasticsearchmachine elasticsearchmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Feb 28, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@rjernst rjernst merged commit 7ab1ad7 into elastic:main Mar 1, 2023
@rjernst rjernst deleted the mute_disruption branch March 1, 2023 15:13
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
7.17 Commit could not be cherrypicked due to conflicts
8.7

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 94207

rjernst added a commit to rjernst/elasticsearch that referenced this pull request Mar 1, 2023
In JDK 20 Thread suspend/resume is soft removed (they now throw
UnsupportedOperationException). Many ES disruption tests simulate GC
pauses with suspend/resume. As that strategy will no longer work, this
commit mutes those tests for jdk20+.

relates elastic#94206
closes elastic#93707
elasticsearchmachine pushed a commit that referenced this pull request Mar 1, 2023
In JDK 20 Thread suspend/resume is soft removed (they now throw
UnsupportedOperationException). Many ES disruption tests simulate GC
pauses with suspend/resume. As that strategy will no longer work, this
commit mutes those tests for jdk20+.

relates #94206
closes #93707
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Mar 1, 2023
In JDK 20 Thread suspend/resume is soft removed (they now throw
UnsupportedOperationException). Many ES disruption tests simulate GC
pauses with suspend/resume. As that strategy will no longer work, this
commit mutes those tests for jdk20+.

relates elastic#94206
closes elastic#93707
elasticsearchmachine pushed a commit that referenced this pull request Mar 1, 2023
In JDK 20 Thread suspend/resume is soft removed (they now throw
UnsupportedOperationException). Many ES disruption tests simulate GC
pauses with suspend/resume. As that strategy will no longer work, this
commit mutes those tests for jdk20+.

relates #94206
closes #93707
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Mar 3, 2023
In elastic#94207 we missed one disruption test still mimicking GC.
rjernst added a commit that referenced this pull request Mar 6, 2023
In #94207 we missed one disruption test still mimicking GC.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Mar 6, 2023
In elastic#94207 we missed one disruption test still mimicking GC.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Mar 6, 2023
In elastic#94207 we missed one disruption test still mimicking GC.
elasticsearchmachine pushed a commit that referenced this pull request Mar 6, 2023
In #94207 we missed one disruption test still mimicking GC.
elasticsearchmachine pushed a commit that referenced this pull request Mar 6, 2023
In #94207 we missed one disruption test still mimicking GC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Distributed A catch all label for anything in the Distributed Indexing Area. Please avoid if you can. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. >test Issues or PRs that are addressing/adding tests v7.17.10 v8.7.1 v8.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] StableMasterDisruptionIT testStaleMasterNotHijackingMajority test failing on OpenJDK 20

4 participants