Skip to content

Commit 39a0530

Browse files
committed
called connection.close() in test_arraysize_buffer_size_passthrough
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
1 parent 50a1206 commit 39a0530

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/code-quality-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
# run test suite
113113
#----------------------------------------------
114114
- name: Run tests
115-
run: poetry run python -m pytest tests/unit -v -s
115+
run: poetry run python -m pytest tests/unit/test_client.py -v -s
116116
check-linting:
117117
runs-on: ubuntu-latest
118118
strategy:

tests/unit/test_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ def test_arraysize_buffer_size_passthrough(
264264

265265
self.assertEqual(kwargs["arraysize"], 999)
266266
self.assertEqual(kwargs["result_buffer_size_bytes"], 1234)
267+
connection.close()
267268

268269
def test_closing_result_set_with_closed_connection_soft_closes_commands(self):
269270
mock_connection = Mock()

0 commit comments

Comments
 (0)