Skip to content

Commit effbd43

Browse files
- All now pass.
1 parent 122d83c commit effbd43

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

test/robot/functional/mcp.robot

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -322,23 +322,21 @@ MCP HTTPS Server JSON DTO Verification
322322
Should Be True ${row_count} > 0
323323

324324
# query.exec_text
325-
# ${ns_query_text}= Run Process
326-
# ... ${STACKQL_MCP_CLIENT_EXE}
327-
# ... exec
328-
# ... \-\-client\-type\=http
329-
# ... \-\-url\=https://127.0.0.1:9004
330-
# ... \-\-client\-cfg
331-
# ... { "apply_tls_globally": true, "insecure_skip_verify": true, "ca_file": "test/server/mtls/credentials/pg_server_cert.pem", "promote_leaf_to_ca": true }
332-
# ... \-\-exec.action
333-
# ... query.exec_text
334-
# ... \-\-exec.args
335-
# ... {"sql":"SELECT 1","format":"text"}
336-
# ... stdout=${CURDIR}${/}tmp${/}MCP-HTTPS-query-exec-text.txt
337-
# ... stderr=${CURDIR}${/}tmp${/}MCP-HTTPS-query-exec-text-stderr.txt
338-
# Should Be Equal As Integers ${ns_query_text.rc} 0
339-
# ${ns_query_text_obj}= Parse MCP JSON Output ${ns_query_text.stdout}
340-
# Should Be Equal ${ns_query_text_obj["format"]} text
341-
# Dictionary Should Contain Key ${ns_query_text_obj} raw
325+
${ns_query_text}= Run Process
326+
... ${STACKQL_MCP_CLIENT_EXE}
327+
... exec
328+
... \-\-client\-type\=http
329+
... \-\-url\=https://127.0.0.1:9004
330+
... \-\-client\-cfg
331+
... { "apply_tls_globally": true, "insecure_skip_verify": true, "ca_file": "test/server/mtls/credentials/pg_server_cert.pem", "promote_leaf_to_ca": true }
332+
... \-\-exec.action
333+
... query.exec_text
334+
... \-\-exec.args
335+
... {"sql":"SELECT 1 as foo"}
336+
... stdout=${CURDIR}${/}tmp${/}MCP-HTTPS-query-exec-text.txt
337+
... stderr=${CURDIR}${/}tmp${/}MCP-HTTPS-query-exec-text-stderr.txt
338+
Should Be Equal As Integers ${ns_query_text.rc} 0
339+
Should Contain ${ns_query_text.stdout} foo
342340

343341
# query.exec_json
344342
${ns_query_json}= Run Process

0 commit comments

Comments
 (0)