Skip to content

Conversation

@sophia-bq
Copy link

Description

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.



# Common tests for both plugins
def test_set_read_only_true(
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like some of the tests mostly only has the setup in common for the two plugins. Curious if we should just split them into separate test cases.

Copy link
Author

Choose a reason for hiding this comment

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

Should be separated in the newest version


if (
url_type == RdsUrlType.RDS_WRITER_CLUSTER
or self._verify_opened_connection_type == HostRole.WRITER
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious about the relationship between the config params srw_verify_initial_connection_type and srw_verify_new_connections. Looks like we only verify initial connection if srw_verify_new_connections is specified, otherwise it is no op. Could we just double check to ensure we make that extra clear via docs

Copy link
Author

Choose a reason for hiding this comment

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

I've added another note on top of what was already in the docs :)

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