dstandish commented on pull request #14869: URL: https://github.com/apache/airflow/pull/14869#issuecomment-808443751
> @dstandish Don't we need mysql.connector-specific tests for `test_run_with_autocommit` and ` test_run_without_autocommit` ? Should those be handled separately from this PR? I think those tests are somewhat duplicative and non-specific. You have fixed a problem with the methods get and set autocommit, and now there are tests that verify that get and set autocommit work as expected. If there are other methods that call get and set, well, they can simply veryify that they called get and set autocommit -- they don't need to retest that get and set work. So your fix here is tested, and it does not require duplication of all those other tests. And while they might benefit from a refactor, it's not necessary for this PR. So my take is, you are making and an incremental improvement here, and not making anything worse, without opening up any other hornets nests. What do you think? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
