Skip to content

1.0 tck tests - Error handling #51

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

Merged
merged 7 commits into from
Apr 12, 2016
Merged

1.0 tck tests - Error handling #51

merged 7 commits into from
Apr 12, 2016

Conversation

RagnarW
Copy link
Contributor

@RagnarW RagnarW commented Apr 7, 2016

Adds TCK:

  • Error reporting
  • StatementResult navigation
  • Auth

Fixes in driver code:

  • Cast exception if Session already has active transaction when using 'run' or 'beginTransaction'
  • Clears transaction from session when recycled
  • Changed StatementResult to return tuple of keys, same format as record.
  • Some changes in error messages and types.

@RagnarW RagnarW force-pushed the 1.0-tck-tests branch 3 times, most recently from e71d643 to ae7d9b5 Compare April 12, 2016 07:19
@@ -379,7 +379,7 @@ def connect(host, port=None, ssl_context=None, **config):
try:
s = create_connection((host, port))
except SocketError as error:
if error.errno == 111:
if error.errno == 111 or error.errno == 61:
Copy link
Contributor

Choose a reason for hiding this comment

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

A comment might be useful here to highlight what errors these are.

@zhenlineo zhenlineo merged commit ce6b3c3 into 1.0 Apr 12, 2016
@zhenlineo zhenlineo deleted the 1.0-tck-tests branch April 12, 2016 10:04
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.

3 participants