Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit169716c

Browse files
fix: backend references in integration tests
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent49af2ea commit169716c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎tests/e2e/test_driver.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ def test_close_connection_closes_cursors(self):
836836

837837
# When connection closes, any cursor operations should no longer exist at the server
838838
withpytest.raises(SessionAlreadyClosedError)ascm:
839-
op_status_at_server=ars.thrift_backend._client.GetOperationStatus(
839+
op_status_at_server=ars.backend._client.GetOperationStatus(
840840
status_request
841841
)
842842

@@ -916,7 +916,7 @@ def test_cursor_error_handling(self):
916916
assertop_handleisnotNone
917917

918918
# Manually close the operation to simulate server-side closure
919-
conn.thrift_backend.close_command(op_handle)
919+
conn.session.backend.close_command(op_handle)
920920

921921
cursor.close()
922922

@@ -936,7 +936,7 @@ def test_result_set_close(self):
936936

937937
result_set.close()
938938

939-
assertresult_set.op_state==result_set.thrift_backend.CLOSED_OP_STATE
939+
assertresult_set.op_state==result_set.backend.CLOSED_OP_STATE
940940
assertresult_set.op_state!=initial_op_state
941941

942942
# Closing the result set again should be a no-op and not raise exceptions

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp