Skip to content

Migrate tests from java driver #211

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 2 commits into from
Aug 11, 2021

Conversation

injectives
Copy link
Contributor

Cherry-picks: #206 and #210.

* Migrate tests from java driver

This updated also includes:
- TransactionClose request support (`Temporary:TransactionClose` feature)
- Driver fetch size configuration (`Temporary:DriverFetchSize` feature)

Migrated tests:
- shouldThrowRollbackErrorWhenTransactionRollback -> test_should_error_on_rollback_failure_using_tx_rollback
- shouldThrowRollbackErrorWhenTransactionClose -> test_should_error_on_rollback_failure_using_tx_close
- shouldPropagateTransactionRollbackErrorWhenSessionClosed -> test_should_error_on_rollback_failure_using_session_close
- shouldStreamingRecordsInBatches -> test_should_accept_custom_fetch_size_using_driver_configuration (protocol bump from 4 to 4.1)
- shouldChangeFetchSize -> test_should_accept_custom_fetch_size_using_session_configuration (protocol bump from 4 to 4.1)

* Update TMP_DRIVER_FETCH_SIZE feature comment

* Update _assert_is_transient_exception check for java driver

* Remove pipelining from direct scripts and update fetchSize handling

* Add optional RESET to writer_with_custom_fetch_size.script

* Skip direct rollback tests for go and javascript

* Skip direct rollback test for javascript

* Skip test_should_error_on_rollback_failure_using_session_close for dotnet
@injectives injectives requested a review from robsdedude August 11, 2021 11:27
Copy link
Contributor

@robsdedude robsdedude left a comment

Choose a reason for hiding this comment

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

🍒
LGTM as soon as the pipelines are green.

@injectives injectives merged commit 2ade794 into neo4j-drivers:4.3 Aug 11, 2021
@injectives injectives deleted the feature/migration branch August 11, 2021 12:52
@injectives
Copy link
Contributor Author

Java fixed in: neo4j/neo4j-java-driver#977.

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