Skip to content

Conversation

@robsdedude
Copy link
Member

@robsdedude robsdedude commented Jun 3, 2022

  • Deprecate is_retriable() in favor of is_retryable
  • Rewrite errors for backwards compatibility
    • Neo.TransientError.Transaction.Terminated
      -> Neo.ClientError.Transaction.Terminated
    • Neo.TransientError.Transaction.LockClientStopped
      -> Neo.ClientError.Transaction.LockClientStopped
  • Add unit tests

Amends #682

Depends on neo4j-drivers/testkit#466

 * Deprecate `is_retriable()` in favor of `is_retryable`
 * Rewrite errors for backwards compatibility
   * Neo.TransientError.Transaction.Terminated
     -> Neo.ClientError.Transaction.Terminated
   * Neo.TransientError.Transaction.LockClientStopped
     -> Neo.ClientError.Transaction.LockClientStopped
 * Add unit tests
Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

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

✍🏼

robsdedude added a commit to neo4j-drivers/testkit that referenced this pull request Jun 14, 2022
 * Python has a fix prepared:
   neo4j/neo4j-python-driver#742
 * Ruby is not part of our pipelines and hence needs no exception just to get
   our TestKit pipelines green. The maintainers should, however, notice through
   failing tests that there is work required, once they upgrade to 5.0
robsdedude added a commit to neo4j-drivers/testkit that referenced this pull request Jul 7, 2022
* Python has a fix prepared:
   neo4j/neo4j-python-driver#742
 * Ruby is not part of our pipelines and hence needs no exception just to get
   our TestKit pipelines green. The maintainers should, however, notice through
   failing tests that there is work required, once they upgrade to 5.0
@robsdedude robsdedude force-pushed the rewrite-retryable-exceptions branch from 17bb81b to 72c2251 Compare July 7, 2022 08:11
@robsdedude robsdedude merged commit 67cc766 into neo4j:5.0 Jul 7, 2022
@robsdedude robsdedude deleted the rewrite-retryable-exceptions branch July 7, 2022 11:48
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.

2 participants