Skip to content

Commit a785536

Browse files
fix: convert command id to operationHandle in status_request
1 parent f7a2276 commit a785536

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/test_driver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,8 @@ def test_close_connection_closes_cursors(self):
822822
# We must manually run this check because thrift_backend always forces `has_been_closed_server_side` to True
823823
# Cursor op state should be open before connection is closed
824824
status_request = ttypes.TGetOperationStatusReq(
825-
operationHandle=ars.command_id, getProgressUpdate=False
825+
operationHandle=ars.command_id.to_thrift_handle(),
826+
getProgressUpdate=False,
826827
)
827828
op_status_at_server = ars.backend._client.GetOperationStatus(status_request)
828829
assert (

0 commit comments

Comments
 (0)