Skip to content

Commit 4b8a033

Browse files
- Added robot test MCP HTTPS Server Exec Query Canonical.
1 parent 08622d3 commit 4b8a033

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

test/robot/functional/mcp.robot

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,3 +546,21 @@ MCP HTTPS Server Query Canonical
546546
Dictionary Should Contain Key ${meta_rels_obj} rows
547547
Length Should Be ${meta_rels_obj[rows]} 7
548548

549+
MCP HTTPS Server Exec Query Canonical
550+
Pass Execution If "%{IS_SKIP_MCP_TEST=false}" == "true" Some platforms do not have the MCP client available
551+
# Future proofing: raw text format reserved; may gain structured hints later.
552+
${ns_query_text}= Run Process
553+
... ${STACKQL_MCP_CLIENT_EXE}
554+
... exec
555+
... \-\-client\-type\=http
556+
... \-\-url\=https://127.0.0.1:9004
557+
... \-\-client\-cfg
558+
... { "apply_tls_globally": true, "insecure_skip_verify": true, "ca_file": "test/server/mtls/credentials/pg_server_cert.pem", "promote_leaf_to_ca": true }
559+
... \-\-exec.action
560+
... exec_query_json_v2
561+
... \-\-exec.args
562+
... {"sql":"delete from google.compute.firewalls where project = 'mutable-project' and firewall = 'deletable-firewall';"}
563+
... stdout=${CURDIR}${/}tmp${/}MCP-HTTPS-Exec-Query-canonical.txt
564+
... stderr=${CURDIR}${/}tmp${/}MCP-HTTPS-Exec-Query-canonical-stderr.txt
565+
${meta_rels_obj}= Parse MCP JSON Output ${meta_rels.stdout}
566+
Dictionary Should Contain Key ${meta_rels_obj} timestamp

0 commit comments

Comments
 (0)