spring-projects / spring-projects/spring-data-couchbase

CouchbaseTransactionalTemplateCollectionIntegrationTests.replacePerson intermittent failure

Open
#1,893 0 comments 0 reactions 1 assignee View on GitHub

@mikereiche is already working on this.

Since Jan 11, 2024.

type: task
Dominant language
Java
Stars
284
Forks
197
PR merge metrics
No merged PRs in 30d

Description

This only ever failed 1 time.

[ERROR] Tests run: 18, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.87 s <<< FAILURE! - in org.springframework.data.couchbase.transactions.CouchbaseTransactionalTemplateCollectionIntegrationTests
[ERROR] org.springframework.data.couchbase.transactions.CouchbaseTransactionalTemplateCollectionIntegrationTests.replacePerson Time elapsed: 2.022 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected class com.couchbase.client.core.error.transaction.AttemptExpiredException to be thrown/cause, but found null
at org.springframework.data.couchbase.util.JavaIntegrationTests.assertThrowsWithCause(JavaIntegrationTests.java:414)
at org.springframework.data.couchbase.transactions.CouchbaseTransactionalTemplateCollectionIntegrationTests.replacePerson(CouchbaseTransactionalTemplateCollectionIntegrationTests.java:319)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.