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

RecoverySourceHandlerTests.testCancelRecoveryDuringPhase1 failing #50424

Closed
ywelsch opened this issue Dec 20, 2019 · 2 comments · Fixed by #50449
Closed

RecoverySourceHandlerTests.testCancelRecoveryDuringPhase1 failing #50424

ywelsch opened this issue Dec 20, 2019 · 2 comments · Fixed by #50449
Assignees
Labels
:Distributed Indexing/Recovery Anything around constructing a new shard, either from a local or a remote source. >test-failure Triaged test failures from CI

Comments

@ywelsch
Copy link
Contributor

ywelsch commented Dec 20, 2019

Test failure is reproducible. Possibly related to #50351.

https://gradle-enterprise.elastic.co/s/7qzhu37ptbtl4

REPRODUCE WITH: ./gradlew ':server:test' --tests "org.elasticsearch.indices.recovery.RecoverySourceHandlerTests" \
  -Dtests.seed=FB712647FCD390D3 \
  -Dtests.security.manager=true \
  -Dbuild.snapshot=false \
  -Dtests.jvm.argline="-Dbuild.snapshot=false" \
  -Dtests.locale=en-US \
  -Dtests.timezone=UTC \
  -Dcompiler.java=13
@ywelsch ywelsch added >test-failure Triaged test failures from CI :Distributed Indexing/Recovery Anything around constructing a new shard, either from a local or a remote source. labels Dec 20, 2019
@elasticmachine
Copy link
Collaborator

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

@ywelsch
Copy link
Contributor Author

ywelsch commented Dec 20, 2019

I've muted the test in fa343f9

dnhatn added a commit that referenced this issue Dec 26, 2019
testCancelRecoveryDuringPhase1 uses a mock of IndexShard, which can't
create retention leases. We need to stub method createRetentionLease.

Relates #50351 
Closes #50424
dnhatn added a commit that referenced this issue Dec 26, 2019
testCancelRecoveryDuringPhase1 uses a mock of IndexShard, which can't
create retention leases. We need to stub method createRetentionLease.

Relates #50351 
Closes #50424
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this issue Jan 23, 2020
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this issue Jan 23, 2020
testCancelRecoveryDuringPhase1 uses a mock of IndexShard, which can't
create retention leases. We need to stub method createRetentionLease.

Relates elastic#50351 
Closes elastic#50424
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/Recovery Anything around constructing a new shard, either from a local or a remote source. >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants